Apache OpenOffice (AOO) Bugzilla – Issue 54607
Graphics never swap out after rendering
Last modified: 2005-11-10 13:35:17 UTC
In OOo 1.x, graphics where removed from memory at most 20seconds after they where not visible any longer. Currently a graphic that was rendered once is never removed from memory until the document is closed. For documents with huge graphics on multiple slides, this leads to huge memory footprints.
To reproduce this issue - Load a document with multiple slides and huge graphics on each slide - Look at the current memory footprint (f.e. tast manager under windows) - Travel through all slides You can see that the memory footprint grows but never shrinks. For QA, please test images like png/jpg/tiff but also metafiles, since it looks like metafiles where never swaped out, even in OOo 1.x. This must be fixed with this issue also
@cl->ka: there are three problems here 1. swap out does not seem to work, I don't know how to debug this 2. swap out for metafiles does not work since in SdrGrafObj::ImpSwapHdl there is an optimization not to swap out graphics with a size < 20480 bytes. But for metafiles this is not implemented and they always report 0 bytes. 3. swap out does not work in slidesorter since the slidesorter caches the view object contacts.
fixed
verified in cws, back to qa re-open issue and reassign to wg@openoffice.org
reassign to wg@openoffice.org
reset resolution to FIXED
Verified in CWS.
Tested in m139. Closed.