To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=104917 Issue #|104917 Summary|framework: each opened and closed document slows a run |ning soffice.bin down Component|framework Version|OOo 3.1 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|mba Reported by|clutz
------- Additional comments from [email protected] Wed Sep 9 13:43:59 +0000 2009 ------- The attached documents simulates the behaviour of a batch-processing done by one of our custom applications that is connected via uno-api. Multiple documents are opened, processed and closed again. With each opened document, OOo slows down a little bit more. To reproduce the issue, just open the document openAndClose500textdocuments.odt (allow macro-execution) and press "Open And Close 500 visible Textdocuments" on a linux system. The macro produces output in the textdocument that shows the time required for the processing of each block of 10 textdocuments. On a linux-system, the required time increases noticable. the macro is very simple. Here you can see what the macro does: function openLoop(hidden as boolean, doc) dim args(1) as new com.sun.star.beans.PropertyValue dim lastTimer as long args(0).Name="Hidden" args(0).Value=hidden lastTimer=Timer for i=1 to 500 newdoc = StarDesktop.loadComponentFromURL( "private:factory/swriter", "_blank", 0, args()) newdoc.close(true) ' ...print time required for 10 documents next i End function The macro doesn't slow down OOo on a windows system. So it seems to be a hole in the memory-management on linux. --------------------------------------------------------------------- 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
