android - Java Heap Space error is occurring -


java heap space error occurring in system. tried lot of solutions stack overflow nothing working. when working

enter image description here

when pressing ok enter image description here

enter image description here

(no error in project)

my eclipse.ini is:

-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807 -product com.android.ide.eclipse.adt.package.product --launcher.xxmaxpermsize 256m -showsplash com.android.ide.eclipse.adt.package.product --launcher.xxmaxpermsize 256m --launcher.defaultaction openfile -vmargs -dosgi.requiredjavaversion=1.6 -declipse.buildid=v22.3.0-887826 -xx:maxpermsize=512m 

my ram:4gb please me solve issue.

it's because eclipse runs out of memory. can increase allocated memory editing (or creating) eclipse.ini file (on root of eclipse directory) , putting following code:

-vmargs -xms512m (for 512 mb) -xmx1024m (for 1024 mb) 

for full list of available options, please check link.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -