-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
As part of a discussion with Support, who were investigating a potential application memory leak reported by a customer, we thought it might help if this must-gather tool could take heap dumps and return them in the output. It might also be helpful for the Performance team.
This should be opt-in, as heap dump generation might take some time and slow down the application or even increase the overall memory usage of the running app.
Acceptance Criteria
- Add a new optional `--with-heap-dumps` option
- Investigate ways to take a heap dump of the running Node process. This might not be possible out of the box if the Node process is not instrumented. Might require starting the container with some advanced options. Document this if needed
- Update the documentation accordingly
- For now, this only targets the RHDH application (Node process). The Operator pod (Go binary) can be investigated later on.