Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi ,

I want to restrict my windows application .exe in process to not exceed that 50MB ,

how can i restrict this ?
Posted
Comments
Aravindba 6-Aug-15 0:03am    
May be u open ur application.exe and simply leave it,dont do anything with application,then ur application process not exceed to 50mb,can ?
if u use ur application then it occupy windows ram and process,how u restrict that is related to windows even if u restrict then ur application not function according ur expectation ?
Ralf Meier 6-Aug-15 2:18am    
What is your definate Problem ?
Does your application grows more and more inside the Memory of your PC ?

1 solution

What is your requirement actually ?? May be you can try using Windows JOB objects..
https://msdn.microsoft.com/en-us/library/ms684161%28VS.85%29.aspx
 
Share this answer
 
Comments
Vipul Ghadg 6-Aug-15 5:27am    
Thank you so much...!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900