in reply to How can I make my program occupying a lot of memory (sic!)?
it would lead to elseone 1G of memory occupied.
??
Could anyone tell me either how to make a program occupy a lot of memory
Easy:
my $mem = chr(0); $mem x= 1024**3; ## 1 GiB.
or answer a question: How much resources would be occupied totally if I run following code from a program that occupies, say, 1G of memory itself? ]
Try it :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can I make my program occupying a lot of memory (sic!)?
by Doctrin (Beadle) on Nov 03, 2012 at 20:49 UTC | |
by BrowserUk (Patriarch) on Nov 03, 2012 at 22:04 UTC | |
|
Re^2: How can I make my program occupying a lot of memory (sic!)?
by Doctrin (Beadle) on Nov 03, 2012 at 20:38 UTC |