Quote:
Originally Posted by
neeraj.tati
I want to know if there is we can configure some jvm parameter or something else which can increase the jvm size resulting in not getting terminated.
I am getting error message "could not allocate heap memory size". Seems this is also related to JVM only.
You might increase the max heap memory size allowed to the JVM by modifying the -Xmx argument passed to the java command. Of course, if you are experiencing a memory leak, that will not help that much, just make the OOM happen later.
In any case, this can' be related to zones / memory capping. Solaris doesn't over-commit memory so either the JVM doesn't start or it starts. In the latter case, the memory is already reserved so you can't have an out of memory dues to outside processes.