Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to clear the working set memory?
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
How to clear the working set memory?
Environment versions
Environment:
C# 1.1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00974834
Message ID:
00974834
Views:
120
All,

I have a client that is running a WinForms application through Terminal Services. The user accounts have minimum permissions. I have noticed over time, that the application's working set memory size increases and never gets released. I have found a solution that works if the user is in the Admin group, but I need a way to get the following line of code to work for bare minimum permissions:

System.Diagnostics.Process.GetCurrentProcess().MaxWorkingSet = value;

That line works ok for Admins, but for regular users, it won't. The client is unwilling to give every user Admin privileges on the servers and I want other options than "impersonating" the admin.

The servers are Windows 2000 Server machines that have been "locked down". If anyone knows a security policy setting that will give the application the rights to trim its working set size without giving the user Admin permissions to the machine, please let me know.

TIA,

Travis
Travis Vandersypen
Next
Reply
Map
View

Click here to load this message in the networking platform