To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105191
                 Issue #|105191
                 Summary|Memory leak in headless mode.
               Component|framework
                 Version|OOO310m9
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|smonsarr





------- Additional comments from smons...@openoffice.org Fri Sep 18 20:41:40 
+0000 2009 -------
Computer config: 
Ubuntu 8.10 server, 2Gb RAM, no X11.

Setup:
OpenOffice started in headless mode and used as a server accessed from a java
app (using either a socket or a pipe connection).
In our context the java app asks OpenOffice to open a given odt file and perform
an update (the equivalent to menu Tools>Update>Update All).

Issue:
OpenOffice leaks substatial amounts of memory each time an ODT file is 
processed.
Processing the same small 3 page odt (83Kb) including 3 images leaked around
25MB per test.
After 100 iterations the resident memory of the soffice process was around
1400MB and OpenOffice finally crashed. 
Processing a 187 page odt (9.8Mb) including 229 images leaked around 75MB per 
test.

When OpenOffice is started without the -headless option but with a xvfb server
as a X11 substitute, the soffice process does not leak any memory using the same
odt files. The soffice process generally evens out at around 190MB of resident
memory.

Using xvfb on a headless OpenOffice server would seem like a acceptable
work-around but OpenOffice crashes while updating large ODTs. Running the exact
same test using a "real" X server or with the -headless option is successful.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to