After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703794 - servere ram usage for certain gif file
servere ram usage for certain gif file
Status: RESOLVED DUPLICATE of bug 585425
Product: eog
Classification: Core
Component: image viewer
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-08 14:45 UTC by Joel Sjögren
Modified: 2013-09-10 11:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joel Sjögren 2013-07-08 14:45:22 UTC
When opening the attached file (pouch.gif, 3 MB), eog uses 1.2 GB of ram. Google Chrome, by contrast, uses 100 MB (including plugins and a tab or two).

I think the reason may be that it contains 400 frames. Each frame is 689x582 pixels in size. It seems like eog is allocating memory for every frame all at once when opening. This theory is supported by these facts:

1) It takes half a minute to open the file.

2) If each pixel uses 4 bytes, the total memory needed should be 4 * 689 * 582 * 400 bytes = 610 MB, which is close to 1.2 GB.
Comment 1 André Klapper 2013-07-08 16:27:54 UTC
There is no attached file...
Comment 2 Joel Sjögren 2013-07-08 16:34:29 UTC
Seems like it was too big. See this link instead: http://postimg.org/image/eipbivzrh/
Comment 3 Claudio Saavedra 2013-09-10 11:39:36 UTC

*** This bug has been marked as a duplicate of bug 585425 ***