GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — NativeScript/DebugV8Heap.md at master · DesignUI/NativeScript

Expand file tree

/

DebugV8Heap.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
23 lines (18 loc) · 873 Bytes
/

DebugV8Heap.md

Copy path

File metadata and controls

23 lines (18 loc) · 873 Bytes
Raw
Copy raw file
Download raw file
Edit and raw actions

###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.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.