Skip to content

mlafeldt/deno-memleak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracking Deno memory leaks

This repository contains a minimal example that shows whether a particular Deno runtime version has memory leaks or not.

No leaks are especially desirable in an environment where the same server process handles many FaaS calls.

Steps to reproduce:

Build, sign, and run the binary with the following command:

cargo build && codesign-for-instruments target/debug/deno-memleak && target/debug/deno-memleak

Open Instruments.app on macOS, select the "Leaks" template, attach it to the running deno-memleak process, and start recording (Cmd+R).

The result will look like this if there are any leaks:

Fixed leaks:

Known open leaks:

none 💪

About

Tracking Deno memory leaks

Resources

Stars

Watchers

Forks