Eclipse JVM Tomcat Memory stack size setting

Source: Internet
Author: User

1. set Eclipse memory usage

Modify the eclipse.ini file under the Eclipse root directory

-vmargs// virtual machine settings

-xms40m// Initial Memory

-xmx256m// Max memory

-xmn16m// min memory

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

-xx:maxpermsize=256m

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

Eclipse JVM Tomcat Memory stack size setting

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.