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
7 Replies
JavaBot
JavaBot14mo ago
This post has been reserved for your question.
Hey @ngc0202! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
ngc0202
ngc0202OP14mo ago
Linux
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
ngc0202
ngc0202OP14mo ago
Yeah I only need to collect the metrics once, not every time
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
JavaBot
JavaBot14mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?