Eclipse development java appears Failed to create the Virtual Machine error solution

  • 2020-07-21 07:44:11
  • OfStack

Eclipse development java appears Failed to create Java Virtual Machine error solution

1 Directly using Eclipse to develop Java, suddenly such a day, unable to start, splash window shows "Failed to create the Java Virtual Machine"

Modify the ES24en. ini configuration file to find the following snippet:



--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

 

Is amended as:


 � launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
 � launcher.XXMaxPermSize
128m

Save and restart. It starts normally.

The next day, the problem arose again.

Try to modify other parameters when modifying parameters as follows:

# last 1 line

-Xmx512m

Is amended as:

-Xmx256m

eclipse started normally.

Why is 1 straight running well and suddenly this problem? (No environmental parameters have been modified.) At present, the reason is unknown, and we do not know whether there will be problems tomorrow.

Thank you for reading, I hope to help you, thank you for your support to this site!


Related articles: