From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: stephane chatigny Newsgroups: gmane.lisp.guile.user Subject: Re: potential memory leak in do loop Date: Wed, 03 May 2006 09:32:54 -0400 Message-ID: <4458B106.3030109@coractive.com> References: <390990895AACCE4AA76C5A19872C8ADB233D6C@serveur0.coractive.local> <87iron98uf.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1146663374 27994 80.91.229.2 (3 May 2006 13:36:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 May 2006 13:36:14 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed May 03 15:36:12 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FbHWF-00073n-UK for guile-user@m.gmane.org; Wed, 03 May 2006 15:35:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbHWF-00069V-3k for guile-user@m.gmane.org; Wed, 03 May 2006 09:35:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FbHWB-00068m-3b for guile-user@gnu.org; Wed, 03 May 2006 09:35:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FbHW9-00068Y-I5 for guile-user@gnu.org; Wed, 03 May 2006 09:35:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbHW9-00068V-Fa for guile-user@gnu.org; Wed, 03 May 2006 09:35:49 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FbHWX-0006qV-Fi for guile-user@gnu.org; Wed, 03 May 2006 09:36:13 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FbHVN-0006qe-QA for guile-user@gnu.org; Wed, 03 May 2006 15:35:02 +0200 Original-Received: from c207.134.68-2.clta.globetrotter.net ([207.134.68.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 15:35:01 +0200 Original-Received: from stephane.chatigny by c207.134.68-2.clta.globetrotter.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 15:35:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-user@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c207.134.68-2.clta.globetrotter.net User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: <87iron98uf.fsf@zip.com.au> X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5282 Archived-At: 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 remains constant. regards Stef Kevin Ryde a écrit : > Stephane Chatigny 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. > > > _______________________________________________ > Guile-user mailing list > Guile-user@gnu.org > http://lists.gnu.org/mailman/listinfo/guile-user > _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user