Hi Kevin:

I think the memory for high megapixel images is not so important because u
usally will stream the image through a InputStream onto disk. You can then
read the image via BitmapFactory and set a inSampleSize to retrieve it.

BR,
Seb, starting up a WIKI for android memory issues..

On Fri, Jun 25, 2010 at 2:32 PM, Kevin Gaudin <kevin.gau...@gmail.com>wrote:

> Hi Romain,
>
> Is there a list somewhere of devices with 24Mb per process ? Is there
> a way to adjust this in the emulator ? Is there an API method allowing
> to know the total memory available for the process ?
>
> I'm writing a pictures manipulating app, and handling hires pics is
> hard with only 16Mb. New devices with high megapixels camera sure need
> more.
>
> Thank you,
>
> Kevin
>
> On 17 juin, 09:33, Romain Guy <romain...@android.com> wrote:
> > When you get such an error it's because *your* process is running out
> > of memory. Other processes have nothing to do with it. You are using
> > too much memory in your process and blowing past the heap limit (16 MB
> > or 24 MB depending on the device you're using.)
> >
> >
> >
> >
> >
> > On Thu, Jun 17, 2010 at 12:07 AM, Amit <magic.man.a...@gmail.com> wrote:
> > > Hi
> >
> > > java.lang.OutOfMemoryError: bitmap size exceeds VM budget
> > > I am getting this message in my log. As I investigated and found out
> > > while loading contact image this error comes.I checked  size of the
> > > image file and it was normal so came to a conclusion that other
> > > processes filling up the memory and hence at the time this image is
> > > being loaded ,VM running low of memory.
> >
> > > My question is that, is there any tool to figure out which process is
> > > responsible for occupying memory so that we can look into the process
> > > for the exact reason.
> >
> > > Thanks,
> > > Amit
> >
> > > --
> > > 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<android-developers%2bunsubscr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Romain Guy
> > Android framework engineer
> > romain...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support.  All such questions should be posted on
> > public forums, where I and others can see and answer them
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://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 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