[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-porters
Subject:    RE: Carp vs Carp::Heavy was: Re: [PATCH] Put Carp into the Tarpit
From:       "Konovalov, Vadim" <vkonovalov () spb ! lucent ! com>
Date:       2005-06-29 8:35:26
Message-ID: 7DD1BE2C50259746ABB8683672D2089E12D548 () itotest-1 ! spb ! lucent ! com
[Download RAW message or body]

> > cummulative changes, all running ./perl -Ilib -e 'use Carp; 1'
> > 
> > mem used at end	total malloced
> > 178232		234839		before the changes
> > 178232		230735		moving pod to end
> > 178232		230735		removing comments
> > 178232		228575		removing pod
> 
> <snip>
> 
> > So moving and removing the pod both affect the accumulated 
> mallocs(), but
> > don't affect the residual unfreed memory at process exit.
> 
> I wonder why POD altered the amount of memory used at all.  
> Is Perl storing
> it somewhere?

May be Perl is not storing POD somewhere, but in the middle of parsing it
allocates some memory which is not returned to OS but anyways deallocated
and will be reused on further memory demands?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic