今天发布项目,一直碰到 OutOfMemory PermGen space 这个异常
1.OutOfMemoryError: Java heap space
2.OutOfMemoryError: PermGen space
安装版tomcat配置: 修改注册表 HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\Tomcat6\Parameters\JAVA\Options
-Xms512m
-Xmx1024m
-XX:MaxPermSize=256m