wood burning stoves 2.0*
The moose likes Performance and the fly likes IPlanet memory management while tuning for performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "IPlanet memory management while tuning for performance" Watch "IPlanet memory management while tuning for performance" New topic
Author

IPlanet memory management while tuning for performance

Chet Arora
Greenhorn

Joined: May 20, 2003
Posts: 29
Hi,

I am running a Java based application on IPlanet 6.1 sp9.

The JVM startup options are:

-Xms2700m
-Xmx2700m
-server
-d64
-XX:+ScavengeBeforeFullGC
-XX:+DisableExplicitGC
-XX:+UseParallelGC
-XX:+UseLWPSynchronization
-XX:MaxPermSize=216m
-XX:NewSize=1258m
-XX:MaxNewSize=1258m
-XX:+PrintGCDetails
-XX:ParallelGCThreads=20
-XX:TargetSurvivorRatio=90
-XX:+AggressiveOpts
-Dmx4j.log.prototype=mx4j.log.CommonsLogger -Dmx4j.log.priority=debug
-XX:ReservedCodeCacheSize=64m
-Xbootclasspath:/usr/jdk/jdk1.5.0_22/jre/lib/rt.jar:/usr/jdk/jdk1.5.0_22/jre/lib/jsse.jar:/usr/j
dk/jdk1.5.0_22/jre/lib/jce.jar:

After several days of running, i find the CodeCache utilization goes on increasing and today there was an outage on the server with the following error message:

Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?

Can anyone advise on what may be causing this error to show up and what a possible fix could be which would not impact performance.

Regards,

Chetan
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7552
    
  18

Chet Arora wrote:After several days of running, i find the CodeCache utilization goes on increasing and today there was an outage on the server with the following error message:

Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 32756 bytes for ChunkPool::allocate. Out of swap space?

Can anyone advise on what may be causing this error to show up and what a possible fix could be which would not impact performance.

Simple answer is: No.

However, a Google of "thread "CompilerThread0" java.lang.OutOfMemoryError" yielded me this page, which is 4 years old but indicates a remarkably similar error, and seems to suggest that it may have to do with a non-standard target JVM. There were several other hits as well. I suggest you read a few and see if any of them look promising.

Otherwise, you might want to try an iPlanet forum. Perhaps someone there has had similar problems.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IPlanet memory management while tuning for performance
 
Similar Threads
JVM Problem
JDK1.5 installation failed on ubuntu linux 11.10 server
The APR based Apache Tomcat Native library which allows optimal performance in production environmen
Tomcat fails to restart with "Address already in use" exception
JNI Probelm with Oracle iPlanet 7.0.9 Web Server