How can I measure the actual memory usage of an application or process?

后端 未结 30 2673
心在旅途
心在旅途 2020-11-22 03:01

This question is covered here in great detail.

How do you measure the memory usage of an application or process in Linux?

From the blog articl

30条回答
  •  你的背包
    2020-11-22 03:37

    Another vote for Valgrind here, but I would like to add that you can use a tool like Alleyoop to help you interpret the results generated by Valgrind.

    I use the two tools all the time and always have lean, non-leaky code to proudly show for it ;)

提交回复
热议问题