My application(C#) takes around 2 and more GBs of RAM. How can I get available RAM in system so that I might be able to close my process if available RAM is below 20%. I want to do this for windows machine.
            Asked
            
        
        
            Active
            
        
            Viewed 70 times
        
    0
            
            
        - 
                    1System memory does not necessarily correlate with available memory – Alex K. Dec 10 '14 at 14:26
- 
                    1Also, your C# app will likely free up a lot of that memory if the system is under pressure. (Try minimizing the app and see if the memory usage drops; this is a coarse indicator of how much resource your app is keeping hold of just because there's no pressure to release it.) – Dan Puzey Dec 10 '14 at 14:28
 
    