This content has been marked as final. Show 2 replies
invalidParameter wrote:You would need to collect that yourself but sampling over time.
Using the Runtime class, we could able find the current heap memory stats.
But I would like to know how to find the maximum heap memory that had been utilized so far from the start of the JVM instance.
Also I'm interested in generating a graph of X (time)-Y(heap used). Any idea how to generate one?1. Collect the data
2. Find a graphing api or create one
3. Pass the data for 1 to the api from 2.