in reply to Re^14: Strange memory leak using just threads (forks.pm)
in thread Strange memory leak using just threads
The point of spawning early is to avoid there being much already in memory to cause duplication. Obviously, there's no point in require instead of use if all your threads need everything. (Hence (individually).)
So I can use this optimisation if I need run a single specific thread, but if I need to start a bunch of identical worker threads it won't work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^16: Strange memory leak using just threads (forks.pm)
by BrowserUk (Patriarch) on Sep 23, 2010 at 09:48 UTC | |
by zwon (Abbot) on Sep 23, 2010 at 10:51 UTC | |
by BrowserUk (Patriarch) on Sep 23, 2010 at 11:54 UTC | |
by zwon (Abbot) on Sep 23, 2010 at 12:06 UTC | |
by BrowserUk (Patriarch) on Sep 23, 2010 at 15:34 UTC | |
|