I'm meeting the dreadful PermGen:Out of memory error when deploying a web-app on TomCat. I have tried many possible solutions, but they don't work out(sometimes it works, usually it doesn't). I wonder if my config in "BuildConfig.groovy" take effect:
grails.tomcat.jvmArgs = ["-Xmx1024m", "-XX:MaxPermSize=1024m"]
Does anyone know someway to view the MaxPermSize actually applied by the JVM?
You can use JVisualVM in the JDK/bin directory to monitor everything about a java process.