The sun JVM supports a -XX:+HeapDumpOnOutOfMemoryError option to dump heap whenever a java process runs out of heap.
-XX:+HeapDumpOnOutOfMemoryError
Is there a similar option on Androi
I have no idea if this works, but you might try adding a top-level exception handler, and in there asking for a heap dump if it is an OutOfMemoryError.
OutOfMemoryError