Re: Memory Management in Linux

2004-11-16 Thread diego
Check if any of programs in 'Memory debugging' suits you at: http://www.yolinux.com/TUTORIALS/LinuxTutorialSoftwareDevelopment.html Good luck! El vie, 05-11-2004 a las 19:37 +0100, Silvan Villiger escribió: > Hi, > > Can anyone give me a link to a guide which introduces into memory > managem

Re: Memory Management in Linux

2004-11-07 Thread Mauricio Lin
I guess if you want to develop a program to monitor the memory usage, you have firstly check the /proc directory to figure out if this provides the information you need. The link below explain what is /proc and how to access the many entries in /proc from the user application: http://docs.linux.c

Re: Memory Management in Linux

2004-11-05 Thread Eric Gaumer
On Fri, 2004-11-05 at 23:17 +0100, Silvan Villiger wrote: > Thank you for this fast answer. Let's forget the thing with the > memory-leak for a moment. I'm more interested in understanding the > memory management. Does anyone knows a guide which introduces me into > the meaning of the expression

Re: Memory Management in Linux

2004-11-05 Thread Silvan Villiger
Thank you for this fast answer. Let's forget the thing with the memory-leak for a moment. I'm more interested in understanding the memory management. Does anyone knows a guide which introduces me into the meaning of the expressions I mentioned in my first post? Greetings... Silvan -- To UN

Re: Memory Management in Linux

2004-11-05 Thread Kirk Strauser
On Friday 05 November 2004 12:37, Silvan Villiger wrote: > My goal is to write a script to monitor the memory-usage of a program > and to detect memory-leaks using the ps-command. How would you detect > memory leaks with it? You wouldn't. A memory leak, in a nutshell, is a call to malloc() witho

Memory Management in Linux

2004-11-05 Thread Silvan Villiger
Hi, Can anyone give me a link to a guide which introduces into memory management? I need to understand expressions like "rss", "sz", "shared memory", "memory leak", "core image of a process", "data section", "kernel stack", "virtual size". I've googled a lot and have red the man page of ps. But it