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

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

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

-XX:+DisableExplicitGC

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

#2

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
#3

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

Reply