Allocates a bunch of RAM and mlocks it, simulating a machine with less RAM