> bitmap 1 -> 403KB 1600x800
> bitmap 2 -> 73KB 2600x800
> bitmap 3 -> 73KB 2600x800
>
> Which means that  uncompressed they have around 6 MB each, totaling
> 18MB :S
>
> This isn't a memory leak I'm getting the exception  in the first line
> of code when i call the bitmapHolder  to load resources.

Your process presumably already is more than 10MB then.

Are you loading them in scaled-down or scaling them once loaded ?

You should be using e.g. decodeFile() with the option inSampleSize
set.

Pent

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to