I am using a Toshiba laptop with 6.0 GB of memory running Windows 8.1. I've had it freeze up a couple of times due to a process trying to use more memory than the computer has available. I've been told it's possible to set a hard, per-process cap on memory usage, so the computer stops a process or forbids it from taking more memory rather than choke. I don't know how to do this, and Google searches have been unsuccessful. Can anyone tell me how to cap per-process memory use or point me to a resource that does?

  • It is not possible for a process to use more memory the amount of physical memory installed in the system.
    – Ramhound
    Jul 23, 2014 at 3:14
  • @Ramhound: sort of. What happens is it starts paging memory to disk, which is hopelessly slow, causing my computer to freeze. The only solution I've found once that happens is a hard shutdown.
    – Matthew
    Jul 23, 2014 at 3:19
  • The program is still not using MORE MEMORY then physically installed.
    – Ramhound
    Jul 23, 2014 at 3:20
  • @Ramhound: I understand that. However, our fancy modern operating systems are happy to pretend that they can. I did use the word "trying" in my question.
    – Matthew
    Jul 23, 2014 at 3:24
  • NO; They tell the process they can use all the physical memory, even if its not free, and figure out how to free it. The process does not and cannot use more memory then physically installed, there is a difference. Instead of trying to treat the symptom post the information required to determine the reason you have a process that attempts to allocate all your memory.
    – Ramhound
    Jul 23, 2014 at 3:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.