in reply to Re^12: Strange memory leak using just threads (forks.pm)
in thread Strange memory leak using just threads
an up-front single request for as many pages of VM as are required followed by a single ring 3 rep mov.
I don't think so. Each variable should be copied separately, and you have to fix the references. So it's much more than single memory allocation.
Yes. That is an annoying detail of the ithreads implementation. But, it is quite easy to avoid; you just spawn your workers early, and have them require rather than use what they (individually) need.
Sorry, don't see how this can help. Workers usually all need the same set of modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: Strange memory leak using just threads (forks.pm)
by BrowserUk (Patriarch) on Sep 22, 2010 at 16:24 UTC | |
by zwon (Abbot) on Sep 23, 2010 at 03:58 UTC | |
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 | |
|