For example, Valgrind can give you insights about the amount of memory used, and, more importantly, about possible memory leaks in your program. If you really want to know what amount of memory your application actually uses, you need to run it within a profiler. This number is correct, but:ĭoes not reflect the actual amount of memory used by the application, only the amount of memory reserved for itĬan be misleading if pages are shared, for example by several threads or by using dynamically linked libraries With ps or similar tools you will only get the amount of memory pages allocated by that process.
0 Comments
Leave a Reply. |