Re: potential memory leak in do loop

2006-05-04 Thread stephane chatigny
Thanks Kevin and Paul, I am little bit rusty with Linux. I have not used it since my graduate studies ten years ago. I was not aware of the "top" command. I will monitor the process with it. Right now the memory usage seems fairly constant at 30Mb. If I need to use some kind of debuging pac

Re: potential memory leak in do loop

2006-05-03 Thread Kevin Ryde
stephane chatigny <[EMAIL PROTECTED]> writes: > > Does a Unix command like "pmap PID" could help me to determine if there > is a memory leak in the process? I suppose. I only ever look at "top" to see if it's going up. ___ Guile-user mailing list Guil

Re: potential memory leak in do loop

2006-05-03 Thread Paul Emsley
I suspect you need valgrind. valgrind rocks. You will need the standard guile suppressions. Paul. On Wed, May 03, 2006 at 09:32:54AM -0400, stephane chatigny wrote: > Thanks Kevin, > > Does a Unix command like "pmap PID" could help me to determine if there > is a memory leak in the process? >

Re: potential memory leak in do loop

2006-05-03 Thread stephane chatigny
Thanks Kevin, Does a Unix command like "pmap PID" could help me to determine if there is a memory leak in the process? I have run the program for 24hrs and the memory usage seems to be constant at ~28-30Mb. It usually takes 36hrs to generate the bug, I will wait and see if the memory usage remai

Re: potential memory leak in do loop

2006-05-02 Thread Kevin Ryde
Stephane Chatigny <[EMAIL PROTECTED]> writes: > > (although I have not tracked the memory usage yet). You'll probably have to use one of the various malloc debugging packages to find who has allocated the memory that's never freed, to see who's supposed to be responsible for that. __

potential memory leak in do loop

2006-05-02 Thread Stephane Chatigny
Hello,   I use the MIT MPB package on a machine running guile 1.6 and Debian-Linux 3.1r0a. Apparently, I generate a memory link while executing a do loop (although I have not tracked the memory usage yet). When I run the loop, the process is aborted before the end of the iteration. Inter