-Xmx2048m is ignored by eclipse.ini -
my eclipse based product eclipse.ini has below entry accommodate 2gb of heap memory :
-startup plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -application xx.yy.zz.mm.application.application -showsplash splash.bmp --launcher.appendvmargs -vmargs -dosgi.requiredjavaversion=1.8 -xms512m -xmx2048m
when launched exe not working ini entry xmx being ignored.
workaround : using batch file below entry:
java -dosgi.requiredjavaversion=1.8 -xms256m -xmx2048m -xss4m -jar plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -application xx.yy.zz.mm.application.application -showsplash splash.bmp
which working fine solution looks ugly users has launch application not exe batch file. info helpful. using windows7 + 64bit jre + eclipse neon
strange part while xmx agrument working fine batch file why not working .exe+ini! don't know if can debug launcher or why ini file ignoring 2048m memory.
the ini file fragile, sensitive whitespace , silently ignored in case there error. example before "startup" have missed '-' (probably c&p error!?).
in case, recommend start clean/new/copied .ini. , add 1 new entry. ensure nothing else broken.
Comments
Post a Comment