How do I limit the memory usage of a specific process in linux?

Posted by user20222 on Super User See other posts from Super User or by user20222
Published on 2010-04-24T10:58:27Z Indexed on 2010/04/24 11:03 UTC
Read the original article Hit count: 195

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?

© Super User or respective owner

Related posts about virtual-memory

Related posts about memory-management