in reply to Re: Parallel::ForkManager (high cpu and a lot of memory)
in thread Parallel::ForkManager (high cpu and a lot of memory)

This code is longer, but it works. Thx!
Apparantly Parallel::ForkManager doesn't work good with Win32.
The CPU isn't 100% anymore, but the memory usage is still quite big. When I'm using for example 20 threads the process uses 120mb ram and it stays 120mb.

My question is: is it normal that it uses that much memory?

  • Comment on Re^2: Parallel::ForkManager (high cpu and a lot of memory)

Replies are listed 'Best First'.
Re^3: Parallel::ForkManager (high cpu and a lot of memory)
by ikegami (Patriarch) on Oct 08, 2008 at 11:10 UTC
    Sounds right. Perl variables are copied into every thread, so it sounds like a reasonable amount for 20 threads.