Friday, March 11, 2011

Out of swap space?


Getting "java.lang.OutOfMemoryError" and the Weblogic Server gets shutdown unexpectedly 
java.lang.OutOfMemoryError: requested 97 bytes for char in /BUILD_AREA/jdk6_05/hotspot/src/share/vm/runtime/sharedRuntime.cpp. Out of swap space?


Machine is highly burdened with other applications and sessions already running.
Disable or stop all the unnecessary services in the machine.
Allocate more disk memory to virtual memory and stop other applications which run simultaneously.
decrease your usage of memory by reducing the value of the -Xmx & -Xms flag

ex:  -Xms256m -Xmx256m -XX:PermSize=256m -XX:MaxPermSize=512m 

1 comment:

Blogger said...

BlueHost is ultimately the best web-hosting provider for any hosting services you need.