in reply to How to generate 'fake' memory load?

You just want to allocate a lot of memory?

perl -e '$m = "x" x 1_000_000; sleep 120';

(Holds its memory for two minutes and exits.)