"snapshot for the following tabs are missing:" error on find-leaks
arunkumarv opened this issue · 2 comments
memlab find-leaks --baseline snapshots/Heap-baseline.heapsnapshot --target snapshots/Heap-target.heapsnapshot --final snapshots/Heap-final.heapsnapshot --snapshot-dir snapshots --work-dir workdir
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
or memlab <COMMAND> -h
to get helper text
snapshot for the following tabs are missing:
baseline
target
final
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 thememlab run
or thememlab snapshot
command
Please 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.