I believe so, but unfortunately I don't have access to a Ubuntu
installation with swap for the time being. But I've made little test
program that allocates memory to reproduce the problem.

Compile it with (sole requirement is a C compiler):

  gcc -Wall memhog.c -o memhog

Then test with "./memhog mbs-to-allocate", e.g. "./memhog 400" to eat up
400 MBs of memory. The program sits tight on the memory for 60 seconds,
then quits.

** Attachment added: "Test program to allocate memory"
   http://librarian.launchpad.net/5248717/memhog.c

-- 
Thrashing hell
https://launchpad.net/bugs/27441

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to