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

[Request] Add option to run garbage collection (MemoryMXBean) #133

Closed
lkonno opened this issue Oct 31, 2023 · 1 comment
Closed

[Request] Add option to run garbage collection (MemoryMXBean) #133

lkonno opened this issue Oct 31, 2023 · 1 comment
Assignees
Labels
feat New feature or request

Comments

@lkonno
Copy link
Contributor

lkonno commented Oct 31, 2023

Describe the feature

There are several use cases that it can be useful to execute manual garbage collection (tests, memory leak investigation..).
It can be helpful when the image does not provide the jcmd tool.

MemoryMXBean provides the gc() operation.

Anything other information?

No response

@andrewazores
Copy link
Member

This feature is now implemented and merged in main and will land in 4.0. I expect it will still be a Beta feature, so users will need to go into the web-client settings and enable the Beta feature level. After that it will become available to add to the Dashboard.

cryostat-gc-action-2024-10-01_15.21.48.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants