Demonstration repository for using memtrace effectively on Windows.
This is a companion to my blog post which complements Jane Street’s original blog post.
- Prepare OCaml 4.11.1 on any of the four native Windows ports and ensure
Path
correctly set - Initialise the submodules
cd vendor\dune-repo
ocaml bootstrap.ml
cd ..\..
vendor\dune-repo\dune build vendor\memtrace_viewer_with_deps\client\main.bc
set MEMTRACE=js_of_ocaml.ctf
vendor\dune-repo\dune exec -- js_of_ocaml.exe compile -o foo.js _build\default\vendor\memtrace_viewer_with_deps\client\main.bc