Performance issues with our internal memory allocator

Markus Mohrhard markus.mohrhard at
Sat Sep 26 11:51:32 PDT 2015


so we have been running our in-build performance tests now for a few weeks
and recently discovered that our internal memory allocator is causing
spikes in the runtime. It became even worse during the weekend with the
tests taking 200 times the instructions. Most of it seems to be spend in
our memory handling code and not really in the actual code. (see for
with the annotated callgrind ouput at
We had a profile that showed the issue inside of the memory allocator much
better but I have to find it again.

Is the internal memory allocator really still useful despite showing
sometimes really bad behavior? Personally I would just fall back to the
system memory allocator except for the few cases where we know that it
makes a difference (small memory blocks in calc formula tokens, ...)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the LibreOffice mailing list