MyEclipse Memory Issues

Source: Internet
Author: User

MyEclipse always appears in the console when starting Tomcat:
Could not create the Java virtual machine
Error occurred during initialization of VMS
Could not reserve enough space for object heap

Cause Analysis:

The amount of memory allocated to the Java Virtual Machine (JVM) at eclipse startup is greater than the number of available memory for the system, so there is not enough space allocated to the JVM to create the object. (You can see how much of the machine's system memory is left.)

Workaround:

Set the appropriate parameters for the JVM (smaller than the current)

(1) Click "Window->preferences->java->installed JREs" to see all the JRE.

(2) The current JRE in the point, then click "Edit" on the right.

(3) Configure the parameter value for the JRE's "Default VM Arguments":-xmx512m-xms512m-xx:maxpermsize=256m. (optional)

MyEclipse Memory Issues

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.