out of memory error with android camera

3 views
Skip to first unread message

sahir contractor

unread,
Apr 20, 2011, 12:45:43 AM4/20/11
to Purdue Android Programming
hi guys,
so i use the bitmap returned from the camera and then run a couple of
algorithms on that bitmap but after the third image, i run out of
memory, and i have no idea how to go about freeing these bitmaps.
Does anyone have any ideas ?
thank you.

Tim Korb

unread,
Apr 20, 2011, 6:54:10 AM4/20/11
to Purdue Android Programming
Are all references to the bitmaps gone (set to null)? It might help
to force a garbage collection.
Reply all
Reply to author
Forward
0 new messages