java - My Mac is not taking my Heap Size configurations -


i'm trying work thousands of live objects on mac. tried change heap size in eclipse.ini 2g according jconsole java still limiting 130mb , throwing java heap space error out of memory.

it seems java doesn't take parameters.

i share screen shots further details. jconsole data ini file , error message.

thanks in advance all.

eclipse.ini =>>  -startup ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.200.v20150204-1316 -product org.eclipse.epp.package.jee.product --launcher.defaultaction openfile -showsplash org.eclipse.platform --launcher.xxmaxpermsize 1024m --launcher.defaultaction openfile --launcher.appendvmargs -vmargs -dosgi.requiredjavaversion=1.6 -xstartonfirstthread -dorg.eclipse.swt.internal.carbon.smallfonts -xdock:icon=../resources/eclipse.icns -xstartonfirstthread -dorg.eclipse.swt.internal.carbon.smallfonts -d64 -xx:permsize: 512m -xx:maxpermsize: 2048m -xms512m -xmx2048m 

the jvm having memory error (running java application) not same jvm runs eclipse. set memory constraint application, need use eclipse's run configuration dialog (under arguments tab -> vm arguments) set memory constraint (sorry can't post images yet!)


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -