JRebel is a hot deployment plug-in. After eclipse integrates the software, modifying the java file does not require restarting the server.
After using the Jrebel plugin, there will be a java.lang.OutOfMemoryError: PermGen space error, and it will be normal to uninstall the plugin.
I just saw the OutOfMemoryError and naturally went to the tomcat bin folder to modify the catalina.bat file configuration and added set JAVA_OPTS="-Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxNewSize=256m" This configuration, I thought there was no problem. But I still get OutOfMemoryError when I run the project. Very depressed. . . .
Looking for a long time to find a solution.
solution
1. Double-click tomcat as follows
2. Select open launch configuration
3. Select Arguments and add -Xmx512M -Xms512M -XX:MaxPermSize=1024m to VM arguments as follows
Restart the server again, there is no OutOfMemoryError error