mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
d9d9f01b37
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 |