Date: Wed, 21 Jan 2004 18:22:00 -0800 From: "Bakken, Luke" <Luke.Bakken@getronics.com> To: <freebsd-ports@freebsd.org> Subject: perl 5.8.2 memory leak? Message-ID: <407DF7D68DD30440B5CEB70ED234D1CF04764B5D@excuswa100.americas.unity>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407DF7D68DD30440B5CEB70ED234D1CF04764B5D>