Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2011-03-24 Thread Marcin Orlowski
On 24 March 2011 14:51, vani reddy vani.redd...@gmail.com wrote:

 image size is 31kb


No. This is filesize, not raw bitmap size.

 Please reply,its very urgent

Why you think we shall care your deadlines?


Regards,
Marcin Orlowski

*Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy...
WebnetMobile of *Facebook http://webnetmobile.com/fb/* and
*Twitterhttp://webnetmobile.com/twitter/
*

-- 
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

Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2011-03-24 Thread vani reddy
What to do for this?

On Thu, Mar 24, 2011 at 7:25 PM, Marcin Orlowski
webnet.andr...@gmail.comwrote:

 On 24 March 2011 14:51, vani reddy vani.redd...@gmail.com wrote:

 image size is 31kb


 No. This is filesize, not raw bitmap size.

  Please reply,its very urgent

 Why you think we shall care your deadlines?


 Regards,
 Marcin Orlowski

 *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule
 handy...
 WebnetMobile of *Facebook http://webnetmobile.com/fb/* and 
 *Twitterhttp://webnetmobile.com/twitter/
 *


  --
 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




-- 
 Regards,
Vani Reddy

-- 
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

Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2011-03-24 Thread vani reddy
what shud i do to get rid of this problem?

On Thu, Mar 24, 2011 at 7:35 PM, vani reddy vani.redd...@gmail.com wrote:

 What to do for this?


 On Thu, Mar 24, 2011 at 7:25 PM, Marcin Orlowski webnet.andr...@gmail.com
  wrote:

 On 24 March 2011 14:51, vani reddy vani.redd...@gmail.com wrote:

 image size is 31kb


 No. This is filesize, not raw bitmap size.

  Please reply,its very urgent

 Why you think we shall care your deadlines?


 Regards,
 Marcin Orlowski

 *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule
 handy...
 WebnetMobile of *Facebook http://webnetmobile.com/fb/* and 
 *Twitterhttp://webnetmobile.com/twitter/
 *


  --
 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




 --
  Regards,
 Vani Reddy




-- 
 Regards,
Vani Reddy

-- 
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

Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2011-03-24 Thread vani reddy
image is in form of a .ashx form


On Thu, Mar 24, 2011 at 7:36 PM, vani reddy vani.redd...@gmail.com wrote:

 what shud i do to get rid of this problem?


 On Thu, Mar 24, 2011 at 7:35 PM, vani reddy vani.redd...@gmail.comwrote:

 What to do for this?


 On Thu, Mar 24, 2011 at 7:25 PM, Marcin Orlowski 
 webnet.andr...@gmail.com wrote:

 On 24 March 2011 14:51, vani reddy vani.redd...@gmail.com wrote:

 image size is 31kb


 No. This is filesize, not raw bitmap size.

  Please reply,its very urgent

 Why you think we shall care your deadlines?


 Regards,
 Marcin Orlowski

 *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule
 handy...
 WebnetMobile of *Facebook http://webnetmobile.com/fb/* and 
 *Twitterhttp://webnetmobile.com/twitter/
 *


  --
 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




 --
  Regards,
 Vani Reddy




 --
  Regards,
 Vani Reddy




-- 
 Regards,
Vani Reddy

-- 
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

Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2011-03-24 Thread lbendlin
the error doesn't seem to be related to your bitmaps. It rather points at a 
problem with your mapview.

-- 
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

Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2010-06-17 Thread Romain Guy
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
 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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2010-06-17 Thread Sebastian Roth
Yup. We've been running in that case too many times.
Invest in a good tool like Yourkit, use HPROF Heap dumps to find the objects
with the sticky connects to JVM root and prepare to spend nights on trying
again and again..

I recommend writing automated Unit-Tests for that as well. So that you can
call certain activities 100 times and see whether they retain in memory or
not. Very helpful for us.

Also check basics like background pictures can be encoded as JPG instead of
PNG to save some memory...

BR

On Thu, Jun 17, 2010 at 3:33 PM, 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.comandroid-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.comandroid-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