Problem with the heap size

Put your problem here if it does not fit any of the other categories.

Problem with the heap size

Postby NithinG » Mon Apr 14, 2008 6:57 am

Hi all,

I have developed an application and while running its giving heap size problem... It is giving a problem like

ERROR/dalvikvm-heap(621): Out of memory on a 4124-byte allocation.

Can anyone help me to solve it... Is there any way to increase the heap size... If so please do reply.

Thanks and regards,

NithinG
NithinG
Developer
Developer
 
Posts: 36
Joined: Wed Feb 27, 2008 6:24 am

Top

Postby Hielko » Mon Apr 14, 2008 11:50 pm

This is not possible, the heapsize limit is fixed at 16MB (Note that 16MB is already a lot on a phone)
Hielko
Junior Developer
Junior Developer
 
Posts: 11
Joined: Sat Apr 12, 2008 2:52 pm

Postby Tertium » Fri Apr 10, 2009 5:14 pm

I also noticed that app really able to use about 4M of heap! What's the heck, who knows?
Tertium
Junior Developer
Junior Developer
 
Posts: 10
Joined: Fri Dec 05, 2008 12:43 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 18 guests