string / size bits ...

Michael Meeks michael.meeks at
Fri Mar 30 07:21:50 PDT 2012

Hi there,

	I up-loaded the output of my string debug for a writer start:

	It ignores ref-counts, and shows real lifecycle data per string - ie.
how many times a copy of this string is allocated. I'll write a script
to crunch it in a bit & show what is actually kept, rather than being
transiently allocated then freed during startup.

	Having said that, the top of the list shows no surprises:

$ zcat /tmp/llog.txt.gz | grep '^+' | sort | uniq -c | sort -n -r | head -n 10
  28446 +UNO
  11297 +SERVICES
   9618 +ACTIVATOR
   4809 +PREFIX
   4809 +LOCATION
   3393 +en
   2576 +
   1589 +en-US

	Then again - I was interested tat configmgr 'map' allocations are in
the top memory consumers, rather than string allocations; but - perhaps
that's down to some breakdown by size as well as by allocation site.

	What's your estimate of the balance between strings and other types,
memory-wise ?



michael.meeks at  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list