Note the format of the -vm option - it is important to be exact: The following examples of eclipse.ini demonstrate correct usage of the -vm option. Many a user has been tripped up because they thought they knew what JVM would be used by default, but they thought wrong. Doing this ensures that you are absolutely certain which JVM Eclipse will run in and insulates you from system changes that can alter the "default" JVM for your system. One of the most recommended options to use is to specify a specific JVM for Eclipse to run on. A max heap of 512MB might be OK for some users, but it's often necessary to bump that value up for large project sets or when some third-party plugins are installed. /./plugins/.86_64_1.1.100.v20110502Īmong other things, this sets the heap space to 40MB initially and a maximum of 512MB, and also specifies a maximum PermGen size of 256MB. Make a backup-keep a copy of the original contents on hand so you don't break your installation and have to download it all again.īy default, eclipse.ini looks something like this (the exact contents will vary based on operating system and which Eclipse package you have):.If the JVM keeps exiting with code 2 instead of starting Eclipse, try removing them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |