java.lang.OutOfMemoryError: bitmap size exceeds VM budget

by Jason Proctor » Thu, 03 Dec 2009 10:12:41 GMT


Sponsored Links
 MHO, if the device offers 50% more memory per application, but the 
bitmaps take up more than 50% more memory, then the net effect is a
stricter limitation.

i'm seeing some occasional OOMs only on Droid, and so i'm being extra
careful about recycling bitmaps and all that.


At 5:40 PM -0800 12/2/09, Romain Guy wrote:
>>> >



Other Threads

1. Eclipse + Android SDK

Hello!
I'm a student, and I'm starting with the Android OS.
Today I installed the Eclipse IDE and the ADT plugin, ok.
So I create a new Android Project, and even emulate the SDK, but when
I open the layout, there isn't a visual editor,  with widgets and
everything else, like the ones I see in videos on Youtube or
Screenshots!

Does anyone know how i get an editor like that in Eclipse?
Thank you so much!

-- 

2. Video cannot be played (but Audio is?!) - Video Track fell behind?

Hi there,

I was trying to use VideoView to play a Video from the SD card, but the only
thing working properly is its audio, while I see the first frame of the
video which doesn't play on and after a few seconds the Error message
"Cannot play video - Sorry, this video cannot be played" appears. I don't
know what I have done wrong...if anyone could help me out here, that would
be great... thank you in advance...

Btw, this is the logcat output I get...I just saw that it says Video track
fell behind, could that be the problem and if so what can I do to stop it
from falling behind??

07-23 01:05:13.958: INFO/ActivityManager(53): Starting activity: Intent {
cmp=com.mobilevideoeditor.moved/.EditorView }
07-23 01:05:14.658: INFO/ActivityManager(53): Displayed activity
com.mobilevideoeditor.moved/.EditorView: 673 ms (total 673 ms)
07-23 01:05:14.738: WARN/PlayerDriver(31): Using generic video MIO
07-23 01:05:15.158: DEBUG/AudioSink(31): bufferCount (4) is too small and
increased to 12
07-23 01:05:15.188: WARN/MediaPlayer(762): info/warning (1, 44)
07-23 01:05:15.188: INFO/MediaPlayer(762): Info (1,44)
07-23 01:05:15.188: ERROR/SW_DEC(31): PV SW DECODER is used for MPEG4
07-23 01:05:15.278: DEBUG/MediaPlayer(762): getMetadata
07-23 01:05:20.478: WARN/InputManagerService(53): Window already focused,
ignoring focus gain of:
com.android.internal.view.iinputmethodclient$stub$pr...@43d34488
07-23 01:05:21.817: WARN/PlayerDriver(31): Video track fell behind
07-23 01:05:21.817: ERROR/MediaPlayer(762): error (1, 48)
07-23 01:05:21.827: ERROR/MediaPlayer(762): Error (1,48)
07-23 01:05:21.827: DEBUG/VideoView(762): Error: 1,48
07-23 01:05:28.897: WARN/InputManagerService(53): Window already focused,
ignoring focus gain of:
com.android.internal.view.iinputmethodclient$stub$pr...@43cf1020

-- 

3. Change widget dimensions on orientation change

4. Notification.FLAG_NO_CLEAR not working as expected

5. gps icon disappears

6. Get return value from javascript.

7. null intent returned in onActivityResult