• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError:

 
Pawel Lewinski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am very green and should appreciate your help and support. I need to use JSON to feed my app with the pictures but although pictures are 50-60KB I got: java.lang.OutOfMemoryError: bitmap size exceeds VM budget(Heap Size=8711KB, Allocated=5064KB, Bitmap Size=24307KB) in logs and the app crashes. I can't figure it out and any advice is more then welcome. Thanks Pawel
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is this an android App? (as every other discussion on this error is linked to android developement)
If it is there are numerous pages out there discussing this issue

bitmap size exceeds VM budget
 
Campbell Ritchie
Sheriff
Posts: 51456
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
Pawel Lewinski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wendy Gibbons wrote:is this an android App? (as every other discussion on this error is linked to android developement)
If it is there are numerous pages out there discussing this issue

bitmap size exceeds VM budget


Hi Thanks Wendy for so quick reply. Yes is it droid app. The thing is that pictures are small but when uploadin to the app it gets x times bigger in size. I will revise those and hope it will help ;)
Cheers
Pawel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic