ngc0202
ngc0202
JCHJava Community | Help. Code. Learn.
Created by ngc0202 on 11/28/2023 in #java-help
Memory Usage Comparison
I have a long-running (an hour or two) application that can consume quite a lot of memory while it's running. I recently made some changes that should improve the memory usage for such large runs, but I'm not really sure how to verify this claim and provide actual statistics. So what's the recommended way to collect these metrics? It'd be nice to have a graph of memory usage over time as well as the maximum used during the run in a form that I can use to easily compare two versions of the code. Thanks
12 replies