I have big issues in tracing down 'bitmap size exceeds VM budget' error. I looked at other questions, and tried all sugesstions (deallocating resources, using bitmap.recycle() and setting variables, bitmaps, canvases to null when activity is destroyed or views are detached from window https://stackoverflow.com/a/6779448/571143, also tried to get rid of 'this' context and used this.getAplicationContext()).
The problem I'm expieriencing is not with a bitmap being too big to load. Everything loads ok at first, but after many repeated changes of current activity I get this error (on device it happens after much more activity changes than on emulator).
So, back to my question, is there a way to use the allocation tracker or heap analyzer to guide me in the right direction? There is no trace of "bitmap allocation" in those tools, only small (mostly less then 1kb) allocations. I've already read this: http://android-developers.blogspot.com/2009/02/track-memory-allocations.html
I know that I'm doing something wrong, because the bitmaps don't deallocate, but the project I'm working on is pretty big, made by a bunch of people, so analyzing everything by hand would be last resort and also extremely time consuming.
I'd appreciate any hints regarding those tools in such scenario.
cheers, kajman