ObjectDB ObjectDB

Issue #2168: huge heap usage

Type: Bug ReoprtVersion: 2.7.2Priority: NormalStatus: ClosedReplies: 6
#1

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 ?

edit
delete
#2

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).

ObjectDB Support
edit
delete
#3

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

edit
delete
#4

The heap dump shows one EntityManagerFactory with 105,689 EntityManager instances.

This could be caused by creating EntityManager instances and not closing them.

ObjectDB Support
edit
delete
#5

Could you detail how to locate that in the dump to enable us finding that by ourselfs in the future, thanks

edit
delete
#6

You can see the number of open connections by filtering by PMImpl:

 

 

You can see that these connections are held by one EntityManagerFactory (EMF):

 

ObjectDB Support
edit
delete
#7

thanks, this helps pretty much

edit
delete

Reply

To post on this website please sign in.