c# : simulate memory leaks

后端 未结 7 865
囚心锁ツ
囚心锁ツ 2021-02-05 17:26

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

7条回答
  •  北恋
    北恋 (楼主)
    2021-02-05 18:21

    You can simulate a memory leak by simply adding objects to a global list on a timer.

提交回复
热议问题