Thursday, February 18, 2010

How to increase the heap size from wsadmin

How to increase the heap size from wsadmin

AdminTask.setJVMInitialHeapSize( ‘[ -nodeName ' + n + ' -serverName ' + s + ' -initialHeapSize ' + str( 384 ) + ' ]‘ )


AdminTask.setJVMMaxHeapSize( ‘[ -nodeName ' + n + ' -serverName ' + s + ' -maximumHeapSize ' + str( 944 ) + ' ]‘ )

# or you could set a bunch of JVM properties in one call

AdminTask.setJVMProperties( ‘[ -nodeName ' + n + ' -serverName ' + s + ' -initialHeapSize ' + str( 384 ) + ' -maximumHeapSize ' + str( 944 ) + ' -verboseModeGarbageCollection true ' + ' ]‘ )

No comments:

Post a Comment