-
Notifications
You must be signed in to change notification settings - Fork 117
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
Calculating values for heap usage for plotting the graph #31
Comments
Hi, It gets memory values from Java itself using Runtime: If you are running 0.3 then you could add some code to write values into a text file: |
Thank you so much for the reply. I mean are you calculating those values after GC happens or before GC happens. At what point of process , are you determining to get that heap usage value during the process is running ? |
Ah, ok. It just polls memory usage every 1 second. |
How can I get plotted values of heap usage graph in text file ( possibly comma separated ) ?
Also, I couldn't understand how exactly are you getting/calculating those values for plotting ? Can you please tell this approach, that would be more beneficial for me.
Thanks in advance, means a lot.
The text was updated successfully, but these errors were encountered: