Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way in Terminal Services to set limits on memory related parameters for a process. For example working set size and, possibly, if it makes sense, total virtual memory allocation for the session?

To turn the question around, we have an application which cannot allocate as much virtual memory running on a terminal server as it can when running on a desktop PC (both I would expect to have a limit of 2GB for user mode address space) and I was wondering if there is another limit for processes or users on a terminal server. Perhaps even 2GB per user rather than per process.

share|improve this question
add comment

migrated from stackoverflow.com Jun 16 '10 at 6:21

This question came from our site for professional and enthusiast programmers.

1 Answer

As far as I know there is not much you can do to limit the amount of memory a process claims in Windows using nice graphical interfaces, unless the process itself has some tuning parameters.

One option could possibly be to write your own program that is started with the terminal server login that limits all processes for a user using Job objects, which is the windows API for this kind of things.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.