hello list, today i wrote a small script for viewing images (similar to "eye of gnome"). i noticed that when looking through an image archive of large images (one image between 2 and 3 mb) that the script consumes more and more memory with each image. with images at that size it takes not more than 20 images until the program terminates and outputs a "killed" to the console. this happens on my system with only 512mb ram at about 80mb ram usage for the script.
i have no idea why this happens and would like to know if you guys out there got any idea. i also need to mention that on my system at work i could not reproduce this error (but i use an older version of gtk and pygtk at work) i have attached the script to this email. start it like "imageviewer /path/to/image" where also enough other images reside in the same folder und use the back and forward buttons. the script is less than 150 lines of code and very readable. i have these versions installed: pkg-config --modversion gtk+-2.0 2.8.18 pkg-config --modversion pygtk-2.0 2.8.6
imageviewer.py
Description: Binary data
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
