https://bugs.freedesktop.org/show_bug.cgi?id=76552

--- Comment #9 from Terrence Enger <[email protected]> ---
Created attachment 104072
  --> https://bugs.freedesktop.org/attachment.cgi?id=104072&action=edit
some numbers for 3 versions of LO

I have been playing around with various versions of LibreOffice.  In
each version I opened the attachment, ran the macro, closed the file,
opened the file, ran the macro, closed the file.  I ran `top` for
soffice.bin at interesting points.

The virtual memory usage reported is merely a gross number.  I do not
know how much of that number is free space on the heap, so I have no
opinion about whether or not the numbers are evidence of a "leak".

Comparing bibisect-43all latest to oldest:
  - memory usage is much higher in latest
  - closing the file shows a decrease in usage in latest
  - second open/run/close made a net increase of 568MB in latest
  - CPU usage is about 4 times greater in latest.

>From a debug build of master fetched 2014-07-12:
  - second and third "open file" did not increase virtual memory usage
    at all; indeed the second "open file" saw a slight decrease.
  - picking out virtual memory usage after successive "close file":
    2679, 3484, 3827.
  - the time to add successive sheets grows non-linearly
  - each moveRange in first execution of the macro increased virtual
    memory usage by about 49.8.  Wow, even in a debug build.

The numbers are in the attachment.  Columns VIRT and CPU are taken
from `top` for soffice.bin at the end of the described operation.  Be
warned that I scribbled these figures down from the screen and then
typed them in, so there is more than a small possibility of errur.

All my observations are on debian-wheezy 64-bit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to