Yesterday when I was running the WebLogic Application Server 11g installer, I encountered a OutOfMemory error, so I Googled for the answer:
java -Xms256m -Xmx512
You can check the values of any JVM flags of a running JVM by using the jinfo.exe utility.
jinfo.exe
%JAVA_HOME%\bin\jinfo.exe -flag
so to check the value of -XX:PermSize JVM option you can run
-XX:PermSize
%JAVA_HOME%\bin\jinfo.exe -flag PermSize