[freenet-dev] BDB uses far more memory than it's supposed to; ideas?

Matthew Toseland toad at amphibian.dyndns.org
Mon Feb 5 19:54:36 UTC 2007


On Mon, Feb 05, 2007 at 04:42:13PM +0100, Jano wrote:
> Florent Daignière (NextGen$) wrote:
> 
> > It depends on the scheduler policy you've choosen. If you are using the
> > default (HARD) then yes.
> 
> Ok.
> 
> A basic question in this leak hunt: is the insertion process designed to use
> constant (or, rather, upper bounded) memory per insertion?

Somewhat. There is an object for each key that will be inserted, and
several other objects for files, segments etc. So 50 DVD ISO's will take
up a lot more memory than 50 20kB JPEGs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20070205/af8f4c51/attachment.pgp 


More information about the Devl mailing list