in reply to Re: Strawberry perl memory leak
in thread Strawberry perl memory leak

Any solution in all of that?


Evan Carroll
I hack for the ladies.
www.EvanCarroll.com

Replies are listed 'Best First'.
Re^3: Strawberry perl memory leak
by BrowserUk (Patriarch) on May 15, 2008 at 18:20 UTC
    Any solution in all of that?

    Not one you'll like. I reached the conclusion a long time ago that using fork on Win32 is a pointless exercise.

    The emulation simply isn't accurate enough, nor complete enough to enable transparent cross-platform solutions. And if you need to put conditional code in to test and account for Win32 limitations and variations, then it's better to move to a full Win32 native solution.

    See this Re: Question: Fast way to validate 600K websites from a few days ago that does almost exactly what you are trying to do using Parallel::ForkManager. It works (on Win32 and anywhere where threads works), and the code is hardly more complex.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.