book icon indicating copy to clipboard operation
book copied to clipboard

Add section about debugging memory leaks

Open fitzgen opened this issue 6 years ago • 0 comments

Recently we gained two new helpful tools for debugging memory leaks:

  • https://github.com/rustwasm/wasm-bindgen/pull/1521
  • https://github.com/rustwasm/wasm-tracing-allocator

We should add a reference guide for boosting their visibility and explaining how to use them a little bit. Maybe even have an example code that intentionally leaks, use the tools to diagnose the leak, and then show the fix.

fitzgen avatar May 10 '19 17:05 fitzgen