Trying to display this image in Ristretto causes it to load for a while, then display the image as fully black.
What makes me believe that there is some memory corruption involved is that all thumbnails disappear, and all images are displayed as a fully black rectangle, although with the correct dimensions.
Designs
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
Related merge requests
2
When these merge requests are accepted, this issue will be closed automatically.
Related to #27 (closed)? Could you have a look at it? In both cases, I can't load the image on my system: not enough memory. But in both cases, enabling "Limit rendering quality" allows me to load it.
The image there loads fine for me and doesn't cause this failure state, whereas this one does. This might be a combination of the specific versions of Ristretto and several libs on my machine, I can't tell. I'm up for any testing you may point me at.
Any message if you open this image in Ristretto from a terminal?
On my side I tried to cut the image in three pieces in width and height preserving the structure of the image (normally: this is done via convert -crop), but I have no problem opening the pieces in Ristretto (which takes about 1.5 GiB in memory to open them though).
So I don't really see what else to do for now. Maybe I'll come back to it when I'll really dive into Ristretto code, which I haven't had the time to do so far (I haven't been a maintainer of this project for a long time).
I ran it under Valgrind, which didn't report anything. I'm thinking it might be a memory corruption in X or something, though, given that sometimes my WM (i3) glitches out afterwards.
I finally managed to display the image in Ristretto, by adding a 4 GiB swap file to my poor laptop. Obviously, the image took a while to display (about 10 minutes), but it finally displayed correctly, including the thumbnails.
So I guess there is a problem specific to your configuration.
When the image is open in Ristretto 0.11.0, the ristretto Linux process on my machine consumes about 15 seconds of CPU time (without displaying the image) and then the process goes to sleep (RAM: 32 GB).
Interestingly, Ristretto only appears to consume around 1 GiB of RAM like this. Memory usage appears to climb rapidly (~ 2 GiB) while "Loading...", and then goes down by those 2 GiB once the image is displayed.