On 23/03/12 17:42, 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.
> 
> On the face of it at least it seems to be legal to share a single DB_ENV 
> among the lot,
> i.e. like so...
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=76876513479522b37c9047a418521624e27afff6
> 
> Anyone know if this is a really bad idea :-)

the  Linux-RHEL6-x86_64@14-with-check tinderbox seems to think so:

> DB_THREAD mandates memory allocation flag on data DBT
> warn:legacy.osl:9258:1:/home/tinderbox/master/desktop/source/deployment/dp_persmap.cxx:63:
>  
> [/home/tinderbox/master/workdir/unxlngx6/CustomTarget/smoketest/user/extensions/bundled/extensions.db]
>  Berkeley Db error (0): Db::get: Invalid argument
> warn:legacy.osl:9258:1:/home/tinderbox/master/desktop/source/deployment/manager/dp_manager.cxx:1474:
>  OSL_ASSERT

> Test name: N12_GLOBAL__N_14TestE::test
> equality assertion failed
> - Expected: 
> - Actual  :  Extensions:install(Extension Install Extension)
> 
> Failures !!!
> Run: 1   Failure total: 1   Failures: 1   Errors: 0

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to