Android memory allocation

Please put the stack trace inside code block so it would be easy to read.