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.
精彩评论