What is the .NET equivalent of PHP's memory_get_usage?
        Posted  
        
            by Sam
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sam
        
        
        
        Published on 2010-06-17T09:01:43Z
        Indexed on 
            2010/06/17
            9:03 UTC
        
        
        Read the original article
        Hit count: 178
        
ASP.NET
PHP has the function memory_get_usage to report the amount of memory a PHP script has. How can you do the same thing in .NET (ASP.NET C#)?
Also, can you report on how much memory an object is taking (e.g. SiteMap or DataTable)?
© Stack Overflow or respective owner