Anish Enos Mathew wrote:
Thanks for the reply. Earlier i tried using top and ps. But i
dropped it when i came to know that top and ps doent give the accurate
memory usage. So I tried with valgring, memcheck etc. But that too
didn't give me the desired result. The result of valgrind was
Anish Enos Mathew wrote:
> I would like to get a tool which gives me an accurate result.
There isn't one as there are too many variables. Do you want to count
shared libraries? The malloc() libraries generally don't return memory
to the operating system except for "larger" chunks (where
Thanks for the reply. Earlier i tried using top and ps. But i
dropped it when i came to know that top and ps doent give the accurate
memory usage. So I tried with valgring, memcheck etc. But that too
didn't give me the desired result. The result of valgrind was more over
surprising. The
Sergio 'OKreZ' Agosti <[EMAIL PROTECTED]> wrote:
> > see options of ps (man ps)
> >
> >> I want to find out the total and the peak memory
> >> usage of a program(in Linux)
>
> or try with 'top'
>
For measuring memory usage (and finding memory leaks)
valgrind generally works much better than
see options of ps (man ps)
I want to find out the total and the peak memory
usage of a program(in Linux)
or try with 'top'
---
Sergio 'OKreZ' Agosti
---
icq: 112421063
msn: [EMAIL PROTECTED]
skype: sergio.agosti
iChat: sergio.agosti
jabber: sergio.agosti
see options of ps (man ps)
Anish Enos Mathew a écrit :
Hi,
I want to find out the total and the peak memory
usage of a program(in Linux). Is there any tool to find it out.I am
inserting 100,000 rows into a table.I want to find out how much memory
it is taking ; both
Hi,
I want to find out the total and the peak memory
usage of a program(in Linux). Is there any tool to find it out.I am
inserting 100,000 rows into a table.I want to find out how much memory
it is taking ; both the total and the peak. Any body has any idea to
which
7 matches
Mail list logo