Search code examples
javaheap-memorymyeclipse

Unable to increase MyEclipse heap memory ( Xmx)


I have MyEclipse version 8.5.

I increased heap memory by changing the value of parameter -Xmx from 1024m to 2048m in the file .../MyEclipse/myeclipse.ini file and restarted MyEclipse, a large dialog box appears and MyEclipse does not start.

When I bring it back to 1024m, it starts working.This is the error received once MyEclipse is restarted

How can I increase the heap size to avoid out of memory exception?

Thanks


Solution

  • If you're running on a 32 bit machine, ~1400Mb is your memory limit. 2048mb is too high.