Eclipse startup times Wrong Could not create the Java virtual machine

Source: Internet
Author: User

Error when Eclipse is started

This is a system that is running out of memory allocated to eclipse and needs to modify the Eclipse.ini file

Eclipse.ini is a configuration file such as Eclipse memory allocation for memory management of Java virtual machines

Meaning of common parameters

-vmargs: Description follows the parameters of the VM
-xms40m: Virtual machine occupies the minimum memory of the system
-xmx256m: Virtual machine occupies the maximum memory of the system
-xx:permsize: Minimum heap size. Generally reported insufficient memory, are said that this is too small, the remaining heap space is less than 5% will be warned, it is recommended to set this slightly
Larger, but not more than MaxPermSize, depending on the size of your machine's memory. -xx:maxpermsize: Maximum heap size. This is also appropriate larger, so if there is a problem, first adjust the-xms40m: set it small, want to understand the specific parameters of Eclipse.ini can go to the official see

This problem we need to modify the INI file in the

-xms40m: Virtual machine occupies the minimum memory of the system

-xmx256m: Virtual machine occupies the maximum memory of the system

Two reference configuration information available

Depending on your computer, the configuration of different parameters for the size of the development project is not the same

Eclipse startup times Wrong Could not create the Java virtual machine

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.