mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
Is protected behind a config option called `enableHeapSnapshotEnpoint`. When API endpoint is triggered it will write a heapSnapshot to disk. Steps to create heap snapshot: 1. Add env variable `ENABLE_HEAP_SNAPSHOT_ENPOINT=true`. 2. Call this endpoint: `/internal-backstage/heapSnapshot` 3. Download the created heapdump from the server. The snapshot can be loaded in the chrome dev-tool to analysis. |
||
|---|---|---|
| .. | ||
| lib | ||
| mailtemplates | ||
| migrations | ||
| test | ||
| migrator.ts | ||
| server-dev.ts | ||
| server.ts | ||