Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information