|We don't bite newbies here... much|
Some File::Find woes.by ibanix (Hermit)
|on Jan 12, 2004 at 21:14 UTC||Need Help??|
ibanix has asked for the wisdom of the Perl Monks concerning the following question:
I've got a Windows2K file server with over 2 million pdf files. We want to delete any of these pdfs more than X days old (X seems to keep changing). So, I wrote up a script (below) to automate this; I'm using ActivePerl 5.6.
My problem is that the script seems to cause the system to eat up all it's "system cache" memory! The perl process only seems to use nominal amount of memory. I blame Windows 2000, but has anyone else seen this problem? Anything in my script that stands out as bad?
Thanks in advance,
$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;