[Evolution-hackers] mmaping addressbook database


Whilst investigating the memory usage of the addressbook I noticed that
libdb is using malloc() to store pages from the database.  This is
caused by use of the DB_PRIVATE flag to the env->open call.  Removing
this flag causes libdb to mmap the database into memory.

Personally I can't see a problem with removing the DB_PRIVATE flag, but
I'm not exactly a libdb expert.  Is there a good reason not to remove
this flag?

Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]