Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Thu, Apr 25, 2013 at 01:08:47PM +0200, Lionel Elie Mamane <lionel@mamane.lu> wrote:
So I gather that "the issue" is that saving this document makes
LibreOffice eat unreasonable amounts of memory.

No, saving the docx attachment as odf is (more or less) fine. But then
reading back the odf results in eating too much memory, yes.

That does not give me
enough data to make a guess (does this document have anything specific
regarding times?). I'll try to run it under gdb/valgrind, but I've
pulled on my master checkout and done only a partial rebuild, and the
binary does not start for me. I've started a full rebuild, but that
typically takes hours.

If you can point valgrind/gdb it yourself and point me towards the
place / stacktrace that allocates "a lot", I can look at that place
and see if I get inspiration (before my build finishes).

TemplateContent::TemplateContent gets an INetURLObject, and the next
assert fails, as GetProtocol() is INET_PROT_NOT_VALID. If you step up
the backtrace in gdb, you see that the "URL" was ~memory garbage.

On the other hand, for now I would just change back the cache format.
Does that make sense?

I mean if you are OK with pushing
http://cgit.freedesktop.org/~vmiklos/lo-core/commit/?id=83544b27f3dcfb132b3eb46d387f62ebc9c3e160
to master. And then this can be still discussed (if it's OK to change
this format or not, if hundred/nano seconds matter for templates or not,
etc) without being in a hurry.

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.