You can try searching for memory profilers, like http://valgrind.org/

Aditya


On Wed, Aug 12, 2009 at 10:55 PM, Sharad Binjola <[email protected]
> wrote:

>
>
> which one?.. gprof shows me the time spent in every function and gcov shows
> me the extent of code coverage. Any other profiling tool you can point me
> to? Or, does any one of these allow one to find the memory reqmt through
> using some special option?
>
>
> On Wed, Aug 12, 2009 at 10:50 PM, Aditya Vishwakarma <
> [email protected]> wrote:
>
>>
>>
>> profiling tools can help you there,
>>
>> Aditya
>>
>>
>> On Wed, Aug 12, 2009 at 10:29 PM, Sharad Binjola <
>> [email protected]> wrote:
>>
>>>
>>>
>>> Hi,
>>>
>>> I want to find out the maximum amount of memory required by an
>>> application (a CPP executable). I know there has got to be a utility for
>>> this kind of thing, but can't find it. I just need to know the value of the
>>> peak memory used by the program in its last run (though getting a memory
>>> usage graph would be just spectacularly wonderful). Also, observing the
>>> process's memory usage manually doesn't quite cut it. I am on Linux.
>>>
>>> Thanks!
>>>
>>> --
>>> (www.codefactory.co.nr)
>>> IT, Fourth Year
>>> NSIT
>>> Delhi University
>>>
>>>
>>
>
>
> --
> (www.codefactory.co.nr)
> IT, Fourth Year
> NSIT
> Delhi University
>
>  
>

Reply via email to