Sorry to disagree Geoffrey, but PermGen is NOT a part of heap in all (Sun) JVM's that I'm aware of. SeeThe perm gen space is a subset of the heap space. So it doesn't make sense to put them on the same value. Try this instead: -Xmx1024m -XX:MaxPermSize=512m Or, if that fails: -Xmx2048m -XX:MaxPermSize=1024m
-XX:+CMSPermGenSweepingEnabled
-- CU, Joe