Eclipse stack and memory size settings (reprint)

Source: Internet
Author: User

1. Set Eclipse Memory usage

Modify the Eclipse.ini file under the Eclipse root directory

-vmargs//virtual machine settings



-xx:permsize=128m//non-heap memory settings

2, JVM memory Settings

Open Eclipse window-preferences-java-installed jres-edit-default VM Arguments

Enter in the VM argument:-xmx128m-xms64m-xmn32m-xss16m

3, Tomcat memory settings

Open the Bin folder under the Tomcat root directory and edit Catalina.bat

Modified to: Set java_opts=-xms256m-xmx512m

In the above reprint content is one: XMS is the default virtual machine memory size, XMX is the largest memory, XSS is the size of the stack, 16 is enough.

In the setting of the time can be selected: The project operation of the label has a lower triangle--run CONFIGURATION--VM settings-according to the parameters set.

This article from CSDN Blog:

Eclipse stack and memory size settings (reprint)

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: 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.