How can I determine how much memory my program is currently occupying

前端 未结 4 1648
忘了有多久
忘了有多久 2021-01-01 01:13

Related to my previous question:
Preventing Memory issues when handling large amounts of text

Is

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-01 01:51

    long bytes = System.Diagnostics.Process.GetCurrentProcess().WorkingSet64 for more See Here

提交回复
热议问题