facebook / memlab

A framework for finding JavaScript memory leaks and analyzing heap snapshots
https://facebook.github.io/memlab/
MIT License
4.3k stars 116 forks source link

Can't use findLeaks API without metadata files #76

Closed AndrewBarzu closed 1 year ago

AndrewBarzu commented 1 year ago

Currently I have to manually generate metadata files in order to call the findLeaks API using snapshots that I manually take. It would be better if I could call the findLeaks API in the same way I would call the find-leaks CLI method, in that the API should provide the same functionalities as the CLI.

JacksonGL commented 1 year ago

Your suggestion makes sense. We will consider adding an API that can identify leaks without the metadata file.