3

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 ?

1 Answer 1

2

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

3
  • The process is Tomcat, which does run on Java. I limited the (java -Xms1024m -Xmx1024m), but i still want to know if there is a way to limit it on the through the Windows also. Aug 27, 2013 at 10:08
  • Hah, you got your answer then :D stackoverflow.com/questions/6225682/… -- Once you find your Tomcat service within your Windows' regedit, you can add/edit these parameters: -Xms1024m -Xmx1024mb (assuming that you want to limit the RAM allocation to 1gb) Aug 27, 2013 at 10:09
  • I've updated my answer, please see if that would be helpful. Aug 27, 2013 at 10:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .