I need to install JAVA_OPTS on a development machine running on Windows 7 home edition and tomcat 7 server . I get permgen out of memory error when running spring-mvc web applications from eclipse . I want to enable class unloading in order to free memory when reloading web applications. I also want to increase the amount of available memory.
Can someone explicitly show me how to do this, step by step?
Set Windows environment variable? Run something from the command line? What exactly will my teams look like in code?
Here is what I still have (all on one line):
JAVA_OPTS=XX:MaxPermSize=128MXX:+CMSClassUnloadingEnabledXX:+CMSPermGenSweepingEnabledXms256m -Xmx512m
source share