Issue 98421 - Memory and resource leak when closing presentation and drawing docs
Summary: Memory and resource leak when closing presentation and drawing docs
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 3.0
Hardware: PC Linux, all
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 28996
  Show dependency tree
 
Reported: 2009-01-23 22:12 UTC by chris
Modified: 2017-05-20 11:35 UTC (History)
2 users (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 chris 2009-01-23 22:12:23 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.
Comment 1 eric.bachard 2009-01-24 06:49:13 UTC
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 
Comment 2 Olaf Felka 2009-01-24 10:01:21 UTC
reassigned
Comment 3 Marcus 2017-05-20 11:35:22 UTC
Reset assigne to the default "issues@openoffice.apache.org".