RE: OOM test program

From: j_clifton@aerosimulation.com
Date: Fri Mar 31 2000 - 09:52:55 EST


Attached is a trivial(stupid?) program I wrote to test available memory for a
military aircraft simulator. I had to abandon it because it causes
BadThingsToHappen (TM) if you run multiple copies to exhaust memory. I tried it
under 2.2.12 (RedHat 6.1) yesterday and it killed Telnet and locked up the
console. It also caused havoc on 2.0.36.
Now I just use /proc/<pid>/maps to get the data required.

 



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:29 EST