For some projects, we often encounter memory overflow problems, and this time we need to set the JDK size of each memory.
If there is a problem after running the project, then it is mostly the JDK or the Tomcat memory problem. As for the online Xxx.ini, that is the memory of the configuration tool, when you think you myeclipse or eclipse is very card, this time you need to configure these things.
1. Changing the parameters of the JDK
XMX represents the maximum heap memory, XMS is the smallest heap memory
2.tomcat of Memory Overflow
Tomcat installation root%tomcat%bin/catalina.bat file, SET java_opts line;
Set java_opts=-xms1024m-xmx1024m-xx:permsize=128m-xx:maxpermsize=256m
The value can be adjusted according to the specific situation of the project and the specific situation of the machine.
PermSize represents a permanent band, general static variables, class information, etc. are put here. So this depends on the situation of your own project.
MyEclipse or eclipse memory overflow issues