Friday, June 24, 2011

How to find the heap size in weblogic 10.2 ?

I had this question asked by one of our developer. reaserched on Internet But could not find the straight answer. The output I was trying to get was on command line
with JAVA, looks like there is a java program available on internet. But did not wanted to put that on the server, as I am not a JAVA developer :-)

The simple way i found the information is:
Go to the actual installation path of Weblogic and find the files ending by extension .ini OR .cf. I am not sure if this is application specific. And grep

bash-3.00$ grep -i MaxPermSize *

HEAP="-Xms512m -Xmx768m -XX:NewSize=86m -XX:MaxPermSize=256m"

so you need to be in the folder where the configuration files of the Weblogic are residing.