Monday, July 09, 2007

JVM - Explicit Garbage Collection Setting

Disabling explicit garbage collection is a WebSphere JVM setting. Depending on which version of WebSphere you are using this setting might be in a different place. Here is where we made the change.

In the WebSphere administrative console under Servers > Application servers > {the app server to change} > Java and Process Management > Process Definition > Java Virtual Machine. In the field called “Generic JVM arguments” set the following value “-Xdisableexplicitgc”. When researching this we also noticed that this value may be different depending on the operating system (we used Windows). On a Solaris system the value was “-XX:+DisableExplicitGC”. AIX, being a UNIX based OS might use the same settings as Solaris.

Labels: ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?