in reply to Lots of memory usage with fork©
I just ran both scripts on my system copying a 32 MB file locally. I don't have a handy VPN 'd windows share, but it's hard to see how that would make any difference to the perl code action/performance.
In both cases, I saw zero memory growth. For the first script, memory fluctuated between 3.18MB and 3.27MB. For the second, between 3.680MB & 3.8MB. These flutations are simply snapshots as the process creates and destroys threads and are perfectly normal.
Which version of perl are you using?
Does it make any difference whether you copy the file locally?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Lots of memory usage with fork©
by andreidf (Novice) on Apr 27, 2007 at 14:28 UTC | |
by BrowserUk (Patriarch) on Apr 27, 2007 at 16:12 UTC | |
by andreidf (Novice) on Apr 27, 2007 at 18:20 UTC | |
by BrowserUk (Patriarch) on Apr 27, 2007 at 15:03 UTC |