java.lang.OutOfMemoryError: PermGen space in Weblogic startup
You need to modify this in any webLogic startup Script,i had modified this in setDomain.env file.
Increase the heap size to
MEM_ARGS=-Xms_ _ _m -Xmx_ _ _ _ , here i have given values as 512 and 1024 respectievly.
Set the Perm size
MaxPermSize=_ _ _m,the value given here is 512.
Ideally the Max PermGen value allocated to JVM will be 50% of the Max Heap Size(Xmx).
Also typically in a development environment ,if you are using one Admin Server to manage multiple Managed Servers and all your applications are deployed in Managed Servers,then JVM of your Admin Server require less Heap and PermGen space to load only the Out Of The Box Classes,In this case its ideal to decrease the value of Heap and PermGen for the Admin Server JVM from their original default values.I have tried -XX:PermSize=48m -XX:MaxPermSize=96m,for a 32 bit JVM, which is working fine.
Make sure to take a backup of the original file,
restart the server,ideally this error will disappear.
Next tip
Comments
Post a Comment