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

--- Comment #42 from Marko Mahnič <[email protected]> ---
I can confirm a similar problem with metafiles in LibreOffice Version: 4.1.3.2 
Build ID: 410m0(Build:2) on Ubuntu 13.10.

For this test I created a file with 2 pages. Page 1 is covered with an imported 
SVG image. Page 2 is covered with an imported emf or wmf image.

When only the first page with the SVG is visible, the program works normally. 
On every redraw the program allocates approximately 2MB of memory which is 
released soon afterwards.

As soon as the emf/wmf image from page 2 becomes visible, the program starts 
allocating approximately 2MB on every redraw and this memory is never 
released. This soon consumes all the available memory and hangs the system with 
a lot processes going into "disk sleep" state, probably because LibreOffice is 
swapping objects in and out of memory.

If I make the wmf/emf image smaller, less memory is being lost.

This is what I think is going on: to render an embedded metafile a temporary 
raster buffer is allocated which is never released after the rendering is 
complete.

-- 
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