memory leaking

I use linux and unix and run aplication.
How I can use command top , vmstat ,free ...etc
existing command to find out there is memory leaking ???
Please give me example .
It is not allow to use compiler to compile the program /tool.

Hi chuikingman,

You can man ptree, this is used in Solaris ie:

<snip>
User Commands ptree(1)

NAME
ptree - print process trees
<snip end>

I hope this is of use.

Try running your application with Instruments' Leak Detector. You can go Run > Start with Performance Tool > Leaks and it should help identify what's leaking in your program. Try doing this with the simulator and not on the device to collect leak data.

Can u tell me how to identify which object is causiong memory leak from instruments ????
I am gettign some peaks in "memory leak" view in instruments...
How to gather much info from that point??

Also... i didnt mentioned any autorelease in the above context...
Is it bcoz of factory-constructor ?
Whether fac-constructors call autorelease aftre the scope???

Is the outermost autorelelase pool is not enough???

Also i am having a thread do i want to put it in a autorelease pool???

Moreover the classes mentioned in Log is not used by me also...