P-Y on Nostr: One interesting part is: how do you dump the heap of the app under test from the ...
One interesting part is: how do you dump the heap of the app under test from the instrumentation app?
Turns out, you can run "am dumpheap". Except it's created with shell permissions.. so I had to follow with chmod +r and that allowed the instrumentation app to read the heap dump
Published at
2024-05-03 00:08:22Event JSON
{
"id": "412d000cb24885f27d21be1f2cb425e8cf60548f2e4ee929567c74c05774b1a5",
"pubkey": "2b9c6c28bce249a1ef28497a2ec6f6c01bc7be0721124b8ce7da3e1592080c57",
"created_at": 1714694902,
"kind": 1,
"tags": [
[
"e",
"4e20566be841e267a481b0cd31ee3d95105237da923430963066a9bc1c08bc8a",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://androiddev.social/users/py/statuses/112374245123847475",
"activitypub"
]
],
"content": "One interesting part is: how do you dump the heap of the app under test from the instrumentation app?\n\nTurns out, you can run \"am dumpheap\". Except it's created with shell permissions.. so I had to follow with chmod +r and that allowed the instrumentation app to read the heap dump",
"sig": "780a74baba7e47e6df2cf4421290f075c7efdb9b202ddf9381f7a198cd0ae03ac9cd3668c38702c3d73a2ca2267e11cccda1ac9e4ea7a163c9580d0a0b4be5d6"
}