Windows – Limit memory allocation for process

memory managementwindows server 2008windows-server-2008-r2

I am running Windows Server 2008 R2, and I would like to limit the allocated RAM memory space for a specific process, I have installed "Windows System Resource Manager" but I can only view the information, and not edit.

Is it even possible to limit the allocated RAM space for a specific process ?

Best Answer

That seems like a question for superuser.com, however, I believe that it wouldn't be common to control this in the OS-level but in the application/process level, e.g., in Java, we can configure our program/application server/etc to allocate a certain amount of RAM based on the arguments that we set on that particular JVM instance (java -Xms1024m -Xmx1024m), did you check if your application offers this kind of configuration? Did you check with the vendor? Perhaps some application-specific docs?

UPDATE: Hmm, interesting, Czech this out: https://stackoverflow.com/questions/192876/set-windows-process-or-user-memory-limit