default size for item repositories - can it be decreased?

David Nolden zwabel at googlemail.com
Mon Dec 27 14:08:33 UTC 2010


Each repository has a "master hash table" that assigns hash-keys to buckets.
Unfortunately, I didn't implement growing of that table yet (it's either
slow or complicated), and for that reason the default size of that hash is
2MB, just to make sure that we don't produce too many clashes when a
repository becomes really large (Like in all hash tables, it's a tradeoff
efficiency vs. memory usage here).

However, all the tables for 21 repositories combined have a constant size of
42MB, which is not really worrying I think. Instead of investing work here,
it would be more interesting to find out what is producing the memory peaks
(in the area of a gigabyte).

Greetings, David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101227/a64f746b/attachment-0001.html>


More information about the KDevelop-devel mailing list