• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.OutOfMemoryError:

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79180
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
Pawel Lewinski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic