Link to home
Start Free TrialLog in
Avatar of asker
asker

asked on

Working set tuning - possible?

I need to control the amount of physical memory that my application uses. In fact, I need to establish an upper limit for the RAM used by application - I want that my application does not occupy more memory than I allow (even at cost of perfomance).

Are there some API/hacks/tricks to do that under Windows 95/98?
And what is the API/tool (like PView for NT) which can show me the amount of RAM used by my application under Windows 95/98?

I am aware of SetProcessWorkingSetSize, but it only works for NT (and even under NT I was not able to reach my goal: establishing a limit does not work, TaskManager shows that the application still uses more memory than I specified).

Regards,
Asker.
Avatar of asker
asker

ASKER

Adjusted points to 350
ASKER CERTIFIED SOLUTION
Avatar of sudhirbrat
sudhirbrat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The registry key HKEY_DYN_DATA in NT may not work, but it works in 95/98.