Eclipse memory overflow Solution

Source: Internet
Author: User

Find the eclipse. ini file in the eclipse root directory and open and modify it as follows:

-Showsplash
Org. Eclipse. Platform
-- Launcher. xxmaxpermsize
512 m

-Vmargs
-Xms256m
-Xmx512m

-XX: permsize = 128 m
-XX: maxpermsize = 128 m

-Vmargs: Specifies the virtual machine;
Permsize and maxpermsize should be set to the same value, so that the system performance can be avoided because the preset is not enough and the memory is constantly extended.

If memory overflow occurs during Tomcat running, configure the startup parameters for the JVM used by Tomcat, find the installed JDK in eclipse, and enter the following parameters in the default VM arguments input box:
-Xms128m-xmx128m-XX: permsize = 64 m-XX: maxpermsize = 128 m

If the maven plug-in reports that JDK cannot be found at eclipse startup, you can configure the following parameters in the INI file of eclipse before-vmargs:
-VM
D:/program files/Java/jdk1.5.0/bin/javaw.exe

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.