开发者

How to determine how much memory a windows service should consume

开发者 https://www.devze.com 2022-12-22 14:10 出处:网络
I have created 开发者_高级运维a simple windows service that periodically checks a remote database via web-service and depending upon what it finds updates contents in a local database. Looking at the

I have created 开发者_高级运维a simple windows service that periodically checks a remote database via web-service and depending upon what it finds updates contents in a local database. Looking at the process in Task Manager it consumes anywhere between 8-MB, which seems a lot compared to what it actually does.

Is there anything that I should be checking code wise or is there anything I can run to see why it's consuming so much?


Even a very small C# application on Windows will have a significant memory footprint as the runtime and any used assemblies must be loaded as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消