On Tue, Jun 28, 2005 at 11:16:41AM -0700, Michael G Schwern wrote: > On Tue, Jun 28, 2005 at 06:59:09PM +0100, Dave Mitchell wrote: > > > > 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? > > > > probably buffers used by the IO subsystem while reading in the src > > If that's true, why didn't removing the comments cause a memory drop?
actually, removing just the comments or the pod on their own didn't drop; removing both of them did; I'm guessing it pushed the total file size over some limit that caused more/bigger buffers to be allocated. -- Standards (n). Battle insignia or tribal totems.