develooper Front page | perl.perl5.porters | Postings from September 2012

[perl #30718] File::Find is memory-intensive

Thread Next
From:
James E Keenan via RT
Date:
September 27, 2012 19:11
Subject:
[perl #30718] File::Find is memory-intensive
Message ID:
rt-3.6.HEAD-11172-1348798307-1694.30718-15-0@perl.org
On Wed Aug 04 02:47:43 2004, sjn wrote:
> > [sjn - Fri Jul 16 06:38:17 2004]:
> > 
> > File::Find                           2127256 bytes |  3630 OPs
> > Convert::ASN1::parser                1218845 bytes |  3356 OPs
> > File::Copy                            657597 bytes |  2805 OPs
> > Convert::ASN1                         570976 bytes |  7701 OPs
> > OpenInteract2::Action::Page           468196 bytes |  4991 OPs
> 
> Yes, there seems to be something very funny going on here... The
> following are from Apache::Status/B::TerseSize immediately after server
> startup (AFAIK, File::Find has not been run yet, just loaded.):
> 
> File::Find                             2098482 bytes |  3630 OPs
> Convert::ASN1::parser                  1218845 bytes |  3356 OPs
> File::Copy                              657597 bytes |  2805 OPs
> Convert::ASN1                           567378 bytes |  7701 OPs
> OpenInteract2::Action::Page             463788 bytes |  4991 OPs
> 
> Looking at the File::Find Memory usage page, it lists a total of 162771
> bytes and 3718 OPs (which gives ~43 bytes per OP.)
> 

Can anyone say whether there is something in File::Find which needs
fixing?  (Or is the problem in B::TerseSize?)

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=30718

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About