memsearch

0.0.3 • Public • Published

MemSearch

Build Status dependencies Status devDependencies Status

memsearch is a simple CLI tool to find duplicate strings in your memory snapshots.

After you find leaked strings, it is usually really simple to find the leak source.

I recommend taking 3 snapshots ore more for best results.

Install

npm i -g memsearch

Usage

memsearch -h
Usage: memsearch <command> [options]

Commands:
  index.js compare  Compare snapshots and show repeated strings

Options:
  --version      Show version number                                   [boolean]
  -f, --file     output file                                            [string]
  -d, --dir      input directory                             [string] [required]
  -e, --exclude  exclude strings with this substring(s)                  [array]
  --min          minimal string length                    [number] [default: 20]
  --max          maximal string length                   [number] [default: 500]
  -h, --help     Show help                                             [boolean]

Examples:
  memsearch compare -d . -f res.txt  find all dumps in current directory,
                                     process and save output to res.txt

Readme

Keywords

none

Package Sidebar

Install

npm i memsearch

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

6.3 kB

Total Files

3

Last publish

Collaborators

  • jehy-true