You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first 3 images attached to a note will be scaled down to a preview size when the note is rendered. If there are several notes with larger images this can lead to an 'OutOfMemoryError: heap space' because this operation typically requires loading the whole image data into memory.
Measures to prevent this:
don't scale images that are larger than a certain configurable size
make scaling asynchronous and allow only a configurable number of parallel scale operations
let the number of available threads for parallel scaling depend on the size of the images being scaled
The text was updated successfully, but these errors were encountered:
The first 3 images attached to a note will be scaled down to a preview size when the note is rendered. If there are several notes with larger images this can lead to an 'OutOfMemoryError: heap space' because this operation typically requires loading the whole image data into memory.
Measures to prevent this:
The text was updated successfully, but these errors were encountered: