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 343282 - memory leak when reloading
memory leak when reloading
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-29 09:40 UTC by Bas Zoetekouw
Modified: 2007-03-24 17:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Bas Zoetekouw 2006-05-29 09:40:06 UTC
Please describe the problem:
Evince leaks memory when reloading a document.  
When I open a document (about 100 pages of text, no pictures), evince uses 34MB.
 After each reload (ctrl-R), about 3MB is added to the footprint.  Top shows
this  (each line after a reload):

14305 bas        0 61664  34m  25m S  0.0  3.4   0:03.12 evince
14305 bas        0 64152  37m  25m S  0.0  3.7   0:05.56 evince
14305 bas        0 66576  39m  25m S  0.0  3.9   0:07.95 evince
14305 bas        0 70020  41m  26m S  0.0  4.1   0:10.33 evince
14305 bas        0 72452  44m  26m S  0.0  4.4   0:12.73 evince
14305 bas        0 74696  46m  26m S  0.0  4.6   0:15.10 evince
(and after reloading 5 more times:)
14305 bas        0 85704  57m  26m S  0.0  5.7   0:26.94 evince


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Bas Zoetekouw 2006-05-29 09:40:42 UTC
oh, I forgot to mention, this is with a CVS head of May 11th.
Comment 2 Elijah Newren 2006-05-31 19:35:03 UTC
Did 305229 return?  ;)
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2006-12-04 08:44:47 UTC
This doesn't happen to me on 0.6.1, I reloaded a lot of times but worst I got was 2 extra Mbs.

Maybe it has been fixed? Does it still happen Bas?
Comment 4 Bas Zoetekouw 2007-03-24 15:36:35 UTC
The bug indeed seems to be gone in 0.6.1.  The newer version uses a lot more memory though to start with (65MB instead of 35MB).
Comment 5 Bas Zoetekouw 2007-03-24 15:39:31 UTC
Oops, please disregard that remark about the increased memory use; I was looking at the the wrong line in the top output ;)
The leaks indeed seem to be gone though.
Comment 6 Carlos Garcia Campos 2007-03-24 17:36:34 UTC
Closing as fixed, then. Thanks for your help.