I am trying to do JRA recoding analysis in JRMC. We are using BEA JRockit(R) R27.6.5-32 JVM.
The problem is that the Young GC is happening whenever there is a TLA allocation failure event and the heap usage reaches to almost 1.99 GB and then only Old Collection happens. We have a max of 2 GB heap space. The nursery space that is set is 512 MB. I do not understand why Old Collection is happening only when the heap usage reaches to 1.99 GB. This observation is from Test environment. In Prod environment, we are getting this issue - 'java.lang.OutOfMemoryError: nativeGetNewTLA'. Can we somehow avoid the heap space usage to not to reach 1.99 GB and application runs smoothly well within the allocated heap space? Well as I understand that is what is about GC game that we need to play. On this JVM its only our war file that is deployed and no other application runs on it.
Any inputs is appreciated : - )
Login below to reply: