we are using objectdb 2.7.2_6.
At a custumer we have huge problems with the memory consumption (see the heap dump attached).
The database size is pretty small (1.4 GByte).
Any idea ?
Type: Bug Reoprt | Version: 2.7.2 | Priority: Normal | Status: Closed | Replies: 6 |
we are using objectdb 2.7.2_6.
At a custumer we have huge problems with the memory consumption (see the heap dump attached).
The database size is pretty small (1.4 GByte).
Any idea ?
Could you please share the heap dump or analyse it and provide more information about the roots and paths that keep these objects in memory (particularly roots and paths that keep your entity objects and ObjectDB's ENT and STA objects in the heap).
the dump is available for download, login to
hummingbird-systems.com
using objectdb/objectdb
there is a main menu option objectdb, there you can download the zip
The heap dump shows one EntityManagerFactory with 105,689 EntityManager instances.
This could be caused by creating EntityManager instances and not closing them.
Could you detail how to locate that in the dump to enable us finding that by ourselfs in the future, thanks
You can see the number of open connections by filtering by PMImpl:
You can see that these connections are held by one EntityManagerFactory (EMF):
thanks, this helps pretty much