MyEclipse or eclipse memory overflow issues

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.