durusmail: durus-users: Re: Anybody willing to try BerkeleyDB Storage?
Anybody willing to try BerkeleyDB Storage?
2006-03-16
2006-03-16
Re: Anybody willing to try BerkeleyDB Storage?
2006-03-19
2006-03-20
2006-03-20
2006-03-20
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
2006-03-21
Re: Anybody willing to try BerkeleyDB Storage?
David Binger
2006-03-21
On Mar 21, 2006, at 6:46 AM, Jesus Cea wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jesus Cea wrote:
>> A mark&sweep collector
>
> Goof. Durus uses a copying collector. My fault. In any case, the
> memory
> issue persists.

But it can be avoided.  We traverse the object records, writing them out
as we find them to the new packed file.  The index of the new packed
file is currently kept in RAM, but we can avoid that by constructing
and writing the new index during a direct scan of the packed records.
I don't see any obstacle to doing this with a constant amount of RAM.


reply