> > 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?

Reply via email to