Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support capture of Java heap dump #180

Open
planetf1 opened this issue Aug 18, 2022 · 0 comments
Open

Support capture of Java heap dump #180

planetf1 opened this issue Aug 18, 2022 · 0 comments

Comments

@planetf1
Copy link
Member

If a JVM dies due to running out of memory when running in a k8s environment the jvm will exit, the process will exit, and the container will go away.

Even if appropriate flag is set to capture heap dumps, it will only get written to ephemeral storage and will not be retrievable to allow debugging of the problem

We could arrange for the heap dump to be written to a persistent volume which could be read after the failure.

This would be a useful debugging aid to add to the charts, and a 'best practice' recommendation for those deploying to k8s using their own scripts/charts.

Whilst this issue may not be a heap issue, it's caused a discussion on how we might debug:
See #235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant