A small application to put linux under a specified memory pressure. It make not make sense to most people but it is great for clearing the linux filesystem cache when benchmarking database things.
Usage: ./memory-pressure.exe <size in kb>
-s <secs> Delay between touching memory
-v Be more verbose
2012-01-25 memory-pressure-2012-01-25.c