HomeGuidesAPI Reference
API Reference

Get JVM Garbage Collection statistics

Retrieves real-time JVM garbage collection statistics via ManagementFactory GarbageCollectorMXBeans. Returns cumulative collection count and time across all GC algorithms (e.g., G1, CMS, Parallel). Useful for monitoring JVM memory health and identifying GC-related performance issues.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Responses

401

Unauthorized - User lacks READ or READ_WRITE role permissions.

500

Internal server error - May occur if JVM management beans are unavailable.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json