Diff two memgraph snapshots
diffMemgraphsCompare baseline and comparison .memgraph files to detect memory leak byte deltas and class count changes, identifying new, gone, or persisted root cycles for verifying fix effectiveness.
Instructions
[mg.memory] Compare a baseline .memgraph (before) against a comparison .memgraph (after). Returns total leak/byte deltas, classes whose counts increased or decreased, and ROOT CYCLE signatures bucketed into newInAfter / goneFromBefore / persisted. The killer feature for verifying that a fix actually worked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | Yes | Absolute path to the baseline `.memgraph` file. | |
| after | Yes | Absolute path to the comparison `.memgraph` file. |