On Tue, May 26, 2015 at 04:35:47PM +0200, Christoffer Dall wrote: > Any chance you could send me the memhog tool? memhog is just the first that come to mind because I got it preinstalled everywhere (I only miss it on cyanogenmod as there's no numactl there... yet). Anything else would do as well, as long as you allocate lots of anonymous memory (malloc(); bzero() or just write 1 byte every 4k). The tmpfs trick was fine as well as you'd end up swapping the anonymous memory allocated by the running apps. This would be the python version which I actually used sometime if I couldn't find something preinstalled and I didn't want to install packages. echo 1 >/proc/sys/vm/overcommit_memory python a = "a" while True: a += a This is the more polished way, I just happen to have it installed everywhere (except the cellphone) so I tend to use it, I think it's simpler to install the numactl package. https://github.com/numactl/numactl/blob/master/memhog.c -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>