I have attached four libraries in my project, but when I try to run this project, that time Eclipse show error dialog with error "Problem occurred with heap space". So what I have to do? Any idea related to this helps.
3
-
1Eclipse has a problem with the Heap on your machine. Not related to android.Lukas Knuth– Lukas Knuth2013-04-13 10:16:29 +00:00Commented Apr 13, 2013 at 10:16
-
is Eclipse close down ?ajduke– ajduke2013-04-13 10:16:33 +00:00Commented Apr 13, 2013 at 10:16
-
stackoverflow.com/questions/15393215/…Raghunandan– Raghunandan2013-04-13 10:51:02 +00:00Commented Apr 13, 2013 at 10:51
Add a comment
|
1 Answer
In your eclipse, installation folder find the eclipse.ini

and edit this file to increase size of heap as shown following
-Xms40m
-Xmx512m
to something more like
-Xms256m
-Xmx1024m
Edit :
Your eclipse.ini settings change will take effect only if you change following:
Run -> External Tools -> External ToolConfigurations.
go to configuration that u use, under jre tab -select option
Run in same JRE in workspace.
For more info on the topic have a look at this link.
5 Comments
ajduke
which Eclipse IDE version you are using ??
ajduke
Is is your system RAM less or something ? Accordingly specify Heap Size
Hiren Patel
my system ram: 4 GB, processor core i3, and os: windows 8 - 64 bit
Raghunandan
@HirenPatel glad the edit helped. Credit to ajduke for posting the snapshot
ajduke
@Raghunandan good work at the end of answer, thanks !! (+1`d in other post answer which link you mentioned )