This shell script should gobble up memory pretty fast, be sure to run it
as root and make sure the shell is not imposing user limits memory usage.
:)
-------
#!/bin/sh
echo 'int main () { for ( ; ; ) { malloc (1000000); } }' > /tmp/leaky.c
gcc -o /tmp/leaky /tmp/leaky.c
/tmp/leaky
-------
Received on Sun Dec 3 17:13:42 2006
This archive was generated by hypermail 2.1.8 : Sun Dec 03 2006 - 17:13:48 CST