GNOME Bugzilla – Bug 340563
EOG caches all images in directory when only 1 is selected
Last modified: 2007-12-17 10:25:59 UTC
cf https://launchpad.net/bugs/37429 If 2 or more images are selected, EOG only caches the selected images. If only 1 image is selected, EOG caches "every" image in the directory. This behavior is exhibited whether the selection is specified via Nautilus or command line. (Also, when specifying via command line, if a wildcard pattern is used that resolves to a single file, EOG still caches every image.) No collection options are in use. In a directory with hundreds of images, this behavior makes EOG extremely slow to respond and consumes vast amounts of memory. Under the right combination of circumstances (less available memory, many images in directory) EOG will consume all available memory, making the system completely unresponsive. I've confirmed that this behavior is present in at least Ubuntu Breezy and Dapper.
Thanks for the report! Unfortunately, this is not exactly a bug it's design problem: to make it easier to navigate through images from the same directory, EOG all images thumbnails even when they are not visible. This indeed makes EOG consume lots of memory and repond slowly. However, this problem has been already solved in eog-ng branch with some on demand thumbnails loading which means EOG uses much less memory and is quite faster.
eog-ng branch, which has a full rewrite of eog's core, has been merged into trunk as part of 2.19/2.20 development cycle. Therefore this bug is fixed now. Thanks for the report!
Opening an image in a directory with 100000+ image files in it is still excruciatingly slow. Also, eog doesn't seem to load the next image while viewing the current image - if the next image is multi-megabyte, there's an unacceptable pause before the next image comes up.