0

How can i get the amount of heap space (as numerical value, not as percentage) my application is currently using?

I would like such an output to write a script which finds out the maximum amount of memory my application has used.

user1479670
  • 1,145
  • 3
  • 10
  • 22

1 Answers1

0

The information is stored in /proc/<pid>/maps, with <pid> being the Process ID of your application. Look at this question for further informations.

Community
  • 1
  • 1
Luigi Belli
  • 597
  • 6
  • 11