[android-developers] Re: Problem using Debug.setAllocationLimit

2009-06-25 Thread StefanK
Thanks for the reply. I did read that this must be enabled in VM but for some reason I thought this can be enabled at runtime by something like VMDebug.startAllocCounting() or some other call. Either way this does not appear to be enabled by default in the emulator or the device. Does that mean

[android-developers] Re: Problem using Debug.setAllocationLimit

2009-06-25 Thread fadden
On Jun 25, 4:48 am, StefanK skyntc...@gmail.com wrote: Either way this does not appear to be enabled by default in the emulator or the device. Does that mean that most of the the allocation tracking methods in the Debug classes do not work either? The allocation counting stuff should work.

[android-developers] Re: Problem using Debug.setAllocationLimit

2009-06-24 Thread fadden
On Jun 24, 12:20 pm, Stefan skyntc...@gmail.com wrote: I am trying to track some excessive memory allocations in my application. For some reason the use of Debug.setAllocationLimit  or VMDebug.setAllocationLimit  appears to have no effect. DroidDoc sayeth: * The feature may be disabled