in reply to Re: Memory Leak Caused by Forking?
in thread Memory Leak Caused by Forking?

1. I'm just trying to show the parts that I've narrowed down as causing the problem. I'm dealing with legacy code in a complicated process and for all I know, the originators had good reason to do it the way they're doing it.

I added the delay just so I could watch what happened to the memory between calls.

2. Yes. I know. I have to "dumb" down the requirements of the problem. Regardless of how thorough I think I'm being in describing the issue, it's never going to be enough.

3. I've tried using threads, but apparently I installed perl wrong on my system and it doesn't support threads currently.

Replies are listed 'Best First'.
Re^3: Memory Leak Caused by Forking?
by BrowserUk (Patriarch) on Oct 21, 2010 at 20:08 UTC
    3. I've tried using threads, but apparently I installed perl wrong on my system and it doesn't support threads currently.

    Really, how fascinating. Because on Windows, fork is emulated using threads. So, threads must be working.


    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.