From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: memory leak Date: Mon, 31 Oct 2011 13:59:08 +0100 Message-ID: <8762j5l3kz.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1320065972 31618 80.91.229.12 (31 Oct 2011 12:59:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2011 12:59:32 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Oct 31 13:59:28 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKrSZ-0000zI-Oa for guile-devel@m.gmane.org; Mon, 31 Oct 2011 13:59:27 +0100 Original-Received: from localhost ([::1]:50498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKrSZ-0005fY-CX for guile-devel@m.gmane.org; Mon, 31 Oct 2011 08:59:27 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKrSX-0005fT-G9 for guile-devel@gnu.org; Mon, 31 Oct 2011 08:59:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKrSW-0005h4-FY for guile-devel@gnu.org; Mon, 31 Oct 2011 08:59:25 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKrSW-0005gv-AT for guile-devel@gnu.org; Mon, 31 Oct 2011 08:59:24 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RKrSU-0000uk-6t for guile-devel@gnu.org; Mon, 31 Oct 2011 13:59:22 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Oct 2011 13:59:22 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Oct 2011 13:59:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Brumaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:YPuq84hUy312tVxLb9hR3XzNW2Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12859 Archived-At: Hi Stefan, Stefan Israelsson Tampe skribis: > Regarding the observed leaks in guile. A question is if this is due to some > kind of memory fragmentation more then > a pure memory leak. In the observed bug where in constructing and droping > threads, one can see that memory leaks dramatically > and 2Gig is consumed after about 2000 constructed threads. If one issue a > direct call to scm_gc att the allocation of the stack > the problem becomes much less dramatic. Can you post a simple program that reproduces this? Thanks, Ludo’.