Content-Length: 229516 | pFad | http://github.com/ZanePoe/NativeScript/blob/feature/file-name-resolver-tests-fix/DebugV8Heap.md

F3 NativeScript/DebugV8Heap.md at feature/file-name-resolver-tests-fix · ZanePoe/NativeScript · GitHub
Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 873 Bytes

DebugV8Heap.md

File metadata and controls

23 lines (18 loc) · 873 Bytes

###NOTE: This works for Android ONLY!!!

  • There is the global function
heapSnapshot();
  • The function will save a V8's heap dump file in the application private files folder - e.g.
data/data/com.telerik.tns.unittestapp/files/xxx.xxx.heapsnapshot
  • Open command prompt and go the location of your ADB - e.g. [PathToADT]/sdk/platform-tools/
  • Run adb shell
  • Go to /data/data/com.telerik.tns.unittestapp/files/
  • Run ls to list the files in the folder and find the *.heapsnapshot file(s).
  • Run exit to return back to the command prompt
  • Run adb pull /data/data/com.telerik.tns.unittestapp/files/xxx.xxx.heapsnapshot LocalPath/To/Snapshot
  • Open Chrome Developer Tools (Ctrl + Shift + I within Chrome)
  • Go to Profiles tab on the top of the tools window
  • Select Record Heap Allocations and load the locally saved *.heapsnapshot file.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/ZanePoe/NativeScript/blob/feature/file-name-resolver-tests-fix/DebugV8Heap.md

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy