[Solved] Connection will be closed due to unrecoverable error java.lang.OutOfMemoryError
Try to find the eclipse.ini file, which will be generally available in the eclipse folder.
[where you have eclipse.exe file].
file name: eclipse.ini [file type: configuration settings]
Find the below lines in the eclipse.ini file,
and change it to,
Note: Take the backup of the eclipse.ini file before modifying it.
sometimes this value change may cause a below error.
could not create the java virtual machine
then you can change -Xmx value alone to 1024m from 1350m and keep the -xms512m [or] -xms256m only.
[change to this value only if you get the could not create the java virtual machine error.]
Feel free to post the comments in the below comments section.
868 total views, 4 views today