I'm looking at this blog about Optimization, thanks patbenatar.
The image it's 1920x1440 pixels, hope it helps.
--
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
the image it's 1920x1440 pixels
On 18 abr, 17:59, Streets Of Boston flyingdutc...@gmail.com wrote:
How big, in pixels, is the image?
On Apr 18, 5:50 am, Kofa elk...@gmail.com wrote:
I really don't know why it's giving me this error...
I load an ImageView with an image of 692kb .jpg, using
1920p * 1440p * 2Bytes/p = 2764800*2 = 5529600 Bytes per image.
That's a big chunk and only a one time leak could cause your memory
issue.
Track your code and see where you possibly cache the reference to this
large Bitmap.
Note that memory used by Bitmaps (the internal array of bytes) is not
You say your error doesn't happen as often if you are plugged into
your computer? Is that what you mean by VM? If so, that's likely
because you're developing your code at the time and every time you run
it on the device it kills and restarts your process.. leaving little
time for memory leaks to
How big, in pixels, is the image?
On Apr 18, 5:50 am, Kofa elk...@gmail.com wrote:
I really don't know why it's giving me this error...
I load an ImageView with an image of 692kb .jpg, using scroll options,
so you can scroll it around... the strange it's that when the mobile
it's connected to
5 matches
Mail list logo