Closed arunkumarv closed 1 year ago
There are three ways to specify inputs for the memlab find-leaks
command:
--baseline
, --target
, --final
specifies each snapshot input individually--snapshot-dir
specifies the directory that holds all three heap snapshot files (MemLab will assign baseline, target, and final based on alphabetic order of the file)--work-dir
specifies the output directory of the memlab run
or the memlab snapshot
commandPlease only use one of the three ways to specify the input. I guess your command failed because --work-dir
is not the auto-generated working directory of the memlab run
or the memlab snapshot
command.
Can you try this command instead:
memlab find-leaks --baseline snapshots/Heap-baseline.heapsnapshot --target snapshots/Heap-target.heapsnapshot --final snapshots/Heap-final.heapsnapshot
(Also double check that ls snapshots/Heap-*.heapsnapshot
can list the files)
That command worked. Thank you.
Error: snapshot for the following tabs are missing:{ "1": { "name": "baseline", "url": "", "type": "baseline" }, "2": { "name": "target", "url": "", "type": "target" }, "3": { "name": "final", "url": "", "type": "final" } } The error is Use
memlab help
ormemlab <COMMAND> -h
to get helper text snapshot for the following tabs are missing: baseline target final