in reply to CDB_File memory leak

From the docs:
A cdb file can contain repeated keys. If the insert method is called more than once with the same key during the creation of a cdb file, that key will be repeated.
Update: nevermind...this doesn't explain a memory leak..unless the cdb file was in memory (or is it until the finish() method is called?) :-(

Replies are listed 'Best First'.
Re^2: CDB_File memory leak
by devnul (Monk) on Apr 29, 2009 at 20:13 UTC
    You might be right.... I never peeked under the hood to see how its doing its stuff, I bet based on what I'm reading in CDB_File::Generator, that it sorts the keys.. Maybe thats why its so fast, after all...

    - dEvNuL