Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to clear the working set memory?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
How to clear the working set memory?
Versions des environnements
Environment:
C# 1.1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00974834
Message ID:
00974834
Vues:
121
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform