Skip to content

feat(diagnostics): Add support for heap dump analysis#506

Draft
Josh-Matsuoka wants to merge 5 commits into
cryostatio:mainfrom
Josh-Matsuoka:heap-dump-analysis
Draft

feat(diagnostics): Add support for heap dump analysis#506
Josh-Matsuoka wants to merge 5 commits into
cryostatio:mainfrom
Josh-Matsuoka:heap-dump-analysis

Conversation

@Josh-Matsuoka

Copy link
Copy Markdown

Related to: cryostatio/cryostat#1127

Depends on cryostatio/cryostat-core#666

Adds support for generating heap dump analysis reports from cryostat-reports. Follows a similar strategy to how recording reports are generated and emitted.

Opening as draft pending any changes needed for frontend.

@Josh-Matsuoka Josh-Matsuoka added feat New feature or request safe-to-test labels Apr 1, 2026
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown

This PR/issue depends on:

@POST
public String getHeapDumpReportFromPresigned(RoutingContext ctx, @BeanParam PresignedHeapDumpFormData form)
throws IOException, URISyntaxException {
// TODO queue these requests so we don't overload ourselves, in particular by reading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resource contention issues here are even more potentially egregious with heap dumps than for JFR analysis, so it's probably worth trying to solve this or at least mitigate the potential negative effects now.

https://quarkus.io/guides/smallrye-fault-tolerance

A Bulkhead might be a good starting point.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a Bulkhead to the report methods for now, I'll have to do some more research into the smallrye fault tolerance system and look at what we've done with other cryostat endpoints to if we should add anything else.

Comment thread src/main/java/io/cryostat/reports/ReportResource.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependent feat New feature or request safe-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants