From owner-freebsd-ports@FreeBSD.ORG Wed Jan 21 18:22:10 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CF1816A4CE for ; Wed, 21 Jan 2004 18:22:10 -0800 (PST) Received: from mailus3.getronics.com (mailus3.getronics.com [150.124.55.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 493C143D31 for ; Wed, 21 Jan 2004 18:22:07 -0800 (PST) (envelope-from Luke.Bakken@getronics.com) Received: from excuswa100.americas.unity ([129.189.10.135]) by mailus3.getronics.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 21 Jan 2004 21:22:06 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Jan 2004 18:22:00 -0800 Message-ID: <407DF7D68DD30440B5CEB70ED234D1CF04764B5D@excuswa100.americas.unity> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: perl 5.8.2 memory leak? Thread-Index: AcPgjoeYOjE229bjTxixMPHxN87UQg== From: "Bakken, Luke" To: X-OriginalArrivalTime: 22 Jan 2004 02:22:06.0215 (UTC) FILETIME=[87A3E970:01C3E08E] Subject: perl 5.8.2 memory leak? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 02:22:10 -0000 Hi all, I use the Global source code tag system to index a large amount of source code and transform it into a web site (it uses perl). Today I upgraded my machine that does this to 5.2-RELEASE and the perl 5.8.2 package. The next time I ran the conversion program, I noticed the perl processes memory usage ballooning and ballooning until finally the process was killed due to no swap space on the machine. Prior to the upgrade I was using 5.1-RELEASE and the perl 5.8.0 package. I downgraded the perl package to the 5.6.1 one that is available for the 5.2-RELEASE, and the memory usage of the perl process is significantly reduced compared with 5.8.2. Now the tagging program is not consuming more than 10MB of memory (I'm watching in top) whereas with 5.8.2 it ballooned up over 192MB before being killed. I made no changes to the perl tagging program. One difference I did note is in the output of perl -V: 5.6.1 -> usemymalloc -> 'n' 5.8.2 -> usemymalloc -> 'y' If I can provide any more assistance or info, please ask. Luke