Possible Duplicate:
Linux: How to measure actual memory usage of an application or process?
Why I use 'top' in Linux to show my memory of one process,I get that the storage of the process do only increase and do not decrease except I close the all process.I don't know why,though I use 'free' only behind 'malloc'. How can I get the correct actual REAL-TIME storage of my process? thanks all.