c# : simulate memory leaks..
        Posted  
        
            by dotnet-practitioner
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by dotnet-practitioner
        
        
        
        Published on 2010-06-10T23:23:02Z
        Indexed on 
            2010/06/10
            23:32 UTC
        
        
        Read the original article
        Hit count: 205
        
Hi, I would like to write the following code in c#. a) small console application that simulates memory leak. b) small console application that would invoke the above application and release it right away simulating managing memory leak problem..
In other words the (b) application would continuously call and release application (a) to simulate how the "rebellious" memory leak application is being contained with out addressing the root cause which is application (a).
Some sample code for application (a) and (b) would be very helpful.
Thanks
© Stack Overflow or respective owner