ObjectDB ObjectDB

Issue #2321: objectdb seems to do explicit gc which leads to excessive CPU usage

Type: Bug ReoprtVersion: 2.7.5_01Priority: NormalStatus: ClosedReplies: 2

in our application with thousands of webSocket connections we are facing performance issues (excessive CPU load). We added


to the JVM arguments and the situation is much better. As we do not do any explicit gc calls it seems that objectdb is doing so


This is an interesting report. ObjectDB never invokes gc(), at least directly. This was just verified now by a search in the entire ObjectDB source code (calls to gc were found only in our tests, not in ObjectDB runtime).

Maybe other libraries that you use do?


ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

it is really interesting, there is only the jetty server used in addition, we'll go on investigating that



To post on this website please sign in.