-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photos Exceed Buffer Limit #398
Comments
Needed to increase the buffer size. Read the manual and increased the Server-photoMetadataSize value. Fixed the issue. RTFM |
Hello, what did you end up setting it to? I am having the same problem and can't seem to fix it. |
To the smallest value that does not break the gallery. (Higher the value the slower is the indexing, otherwise it does not hurt). You can try doubling the number. This issue should be gone once #277 is fixed. |
That's good to know! Can't wait for that update. In the meanwhile should I set it to above the size of the my largest files? Because I tried doubling it and it didn't fix the problem unfortunately and testing it is very difficult since the indexing of the folder with the problematic file takes quite some time already. |
Describe the bug
Large photos fail to scan the XML and do not get indexed. Happens with on demand indexing and scheduled. Is there a way to expand the buffer?
Server logs (optional)
In case of a server side error, provide logs:
@#[line:3,col:5]
12/4/2021, 4:24:13 PM[DEBUG][MetadataLoader] Error parsing exif /app/data/images/2021/2021-08-28 13.28.40.jpg TypeError: Corrupt JPG, exceeded buffer limits
at validateBuffer (/app/node_modules/image-size/dist/types/jpg.js:77:15)
at Object.calculate (/app/node_modules/image-size/dist/types/jpg.js:101:13)
at lookup (/app/node_modules/image-size/dist/index.js:43:53)
at Function.imageSize (/app/node_modules/image-size/dist/index.js:118:16)
at /app/src/backend/model/threading/MetadataLoader.js:160:55
at FSReqCallback.wrapper [as oncomplete] (fs.js:562:5)
[xmldom warning] unclosed xml attribute
Environment (please complete the following information):
Used app version:
The text was updated successfully, but these errors were encountered: