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
part of the DalvikVM and won't show up when you do java memory
profiling. However, this memory is part of the overall memory used by
the app's process.


On Apr 21, 2:57 pm, Kofa <[email protected]> wrote:
> the image it's 1920x1440 pixels
>
> On 18 abr, 17:59, Streets Of Boston <[email protected]> wrote:
>
>
>
>
>
> > How big, in pixels, is the image?
>
> > On Apr 18, 5:50 am, Kofa <[email protected]> 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 the VM it's less possible to happen.
> > > So...how can I prevent this? is there anyway that I can free memory
> > > when starting the app? can I tell the system to free memory before
> > > loading the image? please show me the path =P....thx a lot!
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/android-developers?hl=en
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group 
> > athttp://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to