LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   runtime memory usage by a c++ application (https://www.linuxquestions.org/questions/linux-software-2/runtime-memory-usage-by-a-c-application-821652/)

elias_28 07-23-2010 04:48 AM

runtime memory usage by a c++ application
 
Hi,

i have a c++ application that consumes a lot of run time memory. It is a very large project with a lot of sub-modules. My target is to reduce the runtime memory usage as much as possible. Therefore i would like to know
if there is a tool that i can use to profile the code (note that i am not interested in checking for memory leaks / corruptions so Valgrind is not for my purpose) I need to know which module has the most static data like large arrays or a lot of variables to know where to start reducing.

br

barunparichha 07-23-2010 05:55 AM

purify

Use this tool.

elias_28 07-23-2010 08:52 AM

Thanks however the tool you mentioned is to find errors,
i am interested in profiling the memory used not in leaks or corruptions.

thanks

barunparichha 07-26-2010 03:03 AM

There are diff versions of purify with profiling.
Please website of IBM purify on linux.


All times are GMT -5. The time now is 07:31 PM.