Apache OpenOffice (AOO) Bugzilla – Issue 98421
Memory and resource leak when closing presentation and drawing docs
Last modified: 2017-05-20 11:35:22 UTC
To reproduce: 1. Start xrestop 2. Start openoffice 3. Keep an eye on the resources used by openoffice 4. Open a drawing or presentation document 5. Close it again 6. Goto 3 There is an issue with X resources and memory usage. Over time OOo will use all available system memory. Things I have already found out about this: - The problem also exists in OOo 2.4. - The leak is due to the presentation document not being cleaned up when it is closed. - The problem is not specific to the framework code: writer documents do not exhibit the same problem when closed in the same way - The problem is common to both the presentation and drawing modules, and is therefore probably in the common sd code. - The problem is reproducible using the GUI as above, or using API calls to open documents. The method we tried was to create a frame and then use loadComponentFromURL repeatedly on the same frame. - The problem cannot be worked around by calling dispose() on the document object after the frame has been reused.
Interesting issue. I had some doubts when working on add an eventListenr in sd for the remote, and I'd like to understand completly what happens. thanks for pointing this issue
reassigned
Reset assigne to the default "issues@openoffice.apache.org".