sharing DB_ENV between DB berkeleydb instances

Caolán McNamara caolanm at redhat.com
Fri Mar 23 13:27:51 PDT 2012


On Fri, 2012-03-23 at 17:47 +0000, Michael Meeks wrote:
> On Fri, 2012-03-23 at 16:42 +0000, Caolán McNamara wrote:
> > Digging into our memory usage, I see that we have 6 berkeleydb DBs, all
> > of which are opened with a NULL DB_ENV argument which makes berkeleydb
> > create an internal one for each, which adds up to a substantial chunk of memory.
> 
> 	:-) I would be surprised if on a recent install there were any
> berkeleydb files created and/or opened anyway, IIRC I removed several
> failure paths here for new profile creation in 3.5.

with master
rm -rf ~/.config/libreoffice
./soffice
file ~/.config/libreoffice/3/user/uno_packages/cache/uno_packages.db \
~/.config/libreoffice/3/user/extensions/shared/extensions.db \
~/.config/libreoffice/3/user/extensions/bundled/extensions.db

.config/libreoffice/3/user/uno_packages/cache/uno_packages.db: Berkeley
DB (Hash, version 9, native byte-order)
.config/libreoffice/3/user/extensions/shared/extensions.db:    Berkeley
DB (Hash, version 9, native byte-order)
.config/libreoffice/3/user/extensions/bundled/extensions.db:   Berkeley
DB (Hash, version 9, native byte-order)

C.



More information about the LibreOffice mailing list