Doctrin has asked for the wisdom of the Perl Monks concerning the following question:
myScript.pl itself occupies a little of resources. I'm just afraid that when I fork() a program that occupies 1G of memory it would lead to elseone 1G of memory occupied. Could anyone tell me either how to make a program occupy a lot of memory or answer a question above? Thanks in advance. PS I work under Linuxunless (fork) { unless (fork) { `myScript.pl PARAM1 PARAM2 PARAM3`; exit 0; } exit 0; } wait;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I make my program occupying a lot of memory (sic!)?
by BrowserUk (Patriarch) on Nov 03, 2012 at 20:25 UTC | |
by Doctrin (Beadle) on Nov 03, 2012 at 20:49 UTC | |
by BrowserUk (Patriarch) on Nov 03, 2012 at 22:04 UTC | |
by Doctrin (Beadle) on Nov 03, 2012 at 20:38 UTC | |
|
Re: How can I make my program occupying a lot of memory (sic!)?
by rjt (Curate) on Nov 04, 2012 at 03:00 UTC |