Skip to content

Commit bdfb03e

Browse files
committed
Gracefully handle OutOfMemory errors
- Detect and report java.lang.OutOfMemory errors - Fixes #1959 - Use -XX:+HeapDumpOnOutOfMemoryError & -XX:HeapDumpPath to generate a heap dump whose existence can notify the client that an OutOfMemory error has occured - Use chokidar library to listen for heap dump files - Once OutOfMemory error is detected, clean up the heap dumps (only if extension configured the location), and offer to increase JVM XmX value Signed-off-by: Roland Grunberg <[email protected]>
1 parent dd1fe09 commit bdfb03e

File tree

4 files changed

+118
-167
lines changed

4 files changed

+118
-167
lines changed

0 commit comments

Comments
 (0)