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.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy