The patch makes Firefox release the pixmaps used for JPEG images after a few seconds. It seems to work pretty well on my machine; my next step is to add support for this to the PNG and GIF decoders, and to take better measurements of how much memory we can save.
Created attachment 279598 20070903. diff
moz-images-
I'm working on a patch to fix this. You can see the initial version of the patch here: primates. ximian. com/~federico/ news-2007- 09.html# firefox- memory- 1
http://
The patch makes Firefox release the pixmaps used for JPEG images after a few seconds. It seems to work pretty well on my machine; my next step is to add support for this to the PNG and GIF decoders, and to take better measurements of how much memory we can save.