Reputation: 839
I have develop android application using Android SDK, Eclipse IDE.In that some times showing heap space error and close eclipse.what is heap space?hw to solve this issue?
Thanks in advance..
Upvotes: 2
Views: 2829
Reputation: 1789
try disabling the lint, but remember he is doing exceptionally important, then after editing your xml reactivate.
window> preferences> lint error checking> uncheck the checkbox two
Try also monitor the status of the heap>
window> preferences> general> show heap status
Upvotes: 0
Reputation: 157487
you have to increase -Xms
and -Xmx
in the eclipse.ini
file, and restart eclipse.
Upvotes: 7
Reputation: 21528
Heap is a part of the memory (RAM) where program stores the variables.
Your problem, maybe, could be the allocation of variables in a thread or in a cicle.
For example:
while(....) {
Object o = new Object();
.....
}
Upvotes: 0