Apache OpenOffice (AOO) Bugzilla – Issue 17419
Closing a large presentation is VERY slow
Last modified: 2017-05-20 11:08:54 UTC
OpenOffice 1.1 RC1 appears to be very slow when closing a large presentation, regardless of whether the presentation was modified or even just open read-only. We found with one document that OOo would take 30 seconds to open the presentation, which while not good, was acceptable. However, it took over five minutes to close the presentation (not saving it, rather simply exiting out of Impress opened read-only). Platform is RH72 on an AMD Athlon, and is a diskless workstation. The presentation in question has between 1000 and 1500 "very simple" slides. In PPT format it is about 2MB, in SXI format about 100KB. No background images. The licensing on the content of the presentation means I shouldn't *publicly* post the file, unfortunately.
Reassign to cgu.
Some added comments - OOo seems to be spending its time in the DeletePage loop in SdrModel::Clear() in svx/source/svdraw/svdmodel.cxx. Empirical testing shows that the DeletePage loop in Clear() is approximately O(n^3), and that most of the work is occurring in the Broadcast call from SdrModel::RemovePage().
set to new and change the target
Please have a look if we can do something to speed up the closing of large presentations.
armin, can you please verify that youre fix for the insert page problem also fixes this case?
for you
AW->CL: No, i cannot. The fix is #109538# and not yet re-included. But it sound very reasonable for me that it is the same problem. I will keep You informed when #109538# is done. Maybe, if You have a bugfixin CWS for Draw/Impress, i can add it in-between other tasks.
i will wait for armin to inform me that his fix is available
MSC: according to http://development.openoffice.org/releases/Target_Milestone.html retarget to OOo_Later
Reset assigne to the default "issues@openoffice.apache.org".