in reply to demonstrate that perl can give back memory to the OS
This is perl, v5.10.0 built for i686-linux-thread-multisub ps { system("/bin/ps", "-o", "pid,size,vsize", $$); } ps(); { my $x = " " x 2_000_000; ps(); undef $x; } ps();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: demonstrate that perl can give back memory to the OS
by ikegami (Patriarch) on Feb 27, 2009 at 17:30 UTC |