Issue 54607 - Graphics never swap out after rendering
Summary: Graphics never swap out after rendering
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOO 2.0 Beta2
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 15:31 UTC by clippka
Modified: 2005-11-10 13:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description clippka 2005-09-14 15:31:40 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.
Comment 1 clippka 2005-09-14 15:34:07 UTC
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
Comment 2 clippka 2005-09-14 15:36:14 UTC
@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.
Comment 3 ooo 2005-09-16 14:10:29 UTC
fixed
Comment 4 clippka 2005-09-16 15:15:17 UTC
verified in cws, back to qa

re-open issue and reassign to wg@openoffice.org
Comment 5 clippka 2005-09-16 15:15:26 UTC
reassign to wg@openoffice.org
Comment 6 clippka 2005-09-16 15:15:33 UTC
reset resolution to FIXED
Comment 7 wolframgarten 2005-09-19 13:56:52 UTC
Verified in CWS.
Comment 8 wolframgarten 2005-11-10 13:35:17 UTC
Tested in m139. Closed.