.NET EXE memory footprint

前端 未结 3 825
不思量自难忘°
不思量自难忘° 2020-12-01 02:22

Even a simple Notepad application in C# consumes megabytes of RAM as seen in the task manager. On minimizing the application the memory size in the task manager goes down co

3条回答
  •  -上瘾入骨i
    2020-12-01 02:46

    The task manager does not show real life usage of memory for a .NET app. To see that you almost have to put a performance counter on the app or use a profiler.

    What you see in the Task Manager is the working memory of an app which includes a bunch of overhead for the framework itself which must also load when your app loads.

提交回复
热议问题