[android-developers] Bitmap memory handling with ImageView.setimage

2010-06-04 Thread Nathan
I've read a lot of previous messages on this topic but couldn't find universal agreement on the whole. I can't reproduce this in house, but a customer got an OutOfMemoryError when using an icon chooser dialog. This dialog is much like the Grid1 example - only it's in a dialog. The bitmap memory

[android-developers] Bitmap memory errorsn, static strings becoming null, MediaRecorder.release hangs

2009-11-21 Thread Matt Kanninen
If my app runs for more then half an hour on the G1 it will fail on inflating views from xml, giving an error about insufficient memory creating a bitmap. Another issue, which may be a side effect is that global static strings that are assigned at startup become null. I have worked around that by

[android-developers] Bitmap memory leaks with onClick...

2009-07-13 Thread Alexey Volovoy
Hi All i have strange memory leak with Bitmaps. First what i have - an activity that based on the workspace view from Launcher ( 3 screens current prev + next ) . This layout is supplied with adapter , so then i flipping left/right it loads next view. The views that adapter is providing is an Imag

[android-developers] Bitmap Memory

2009-02-26 Thread bra...@gmail.com
Ok I am at the end of my rope. I am doing some image processing. I have a large image file which I open and create a smaller bitmap from. At the end of processing I call recycle on everything. I null everything. I run GC manually. I then try edit another image and I get an out of VM memory error