string / size bits ...
michael.meeks at suse.com
Fri Mar 30 07:21:50 PDT 2012
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
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,
michael.meeks at suse.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice