Want to ask about Memory (private working set) Windows Services
-
Hi guys, I was wondering if there is any impact of the Memory (private working set) towards the performance of the windows services. I developed a Windows Service program in C#. Basically what it does is, reading an unstructured text file and then converting it to a structured text file. File size ranging 1GB to 2GB per file, in multi-threaded. As what I noted, the higher the Memory (private working set) from the Task manager; it goes, the poorer the program to read and write file. I already troubleshooting and recode the program in any ways. Still no luck Any comments to the above, very much appreciated. Thanks
-
Hi guys, I was wondering if there is any impact of the Memory (private working set) towards the performance of the windows services. I developed a Windows Service program in C#. Basically what it does is, reading an unstructured text file and then converting it to a structured text file. File size ranging 1GB to 2GB per file, in multi-threaded. As what I noted, the higher the Memory (private working set) from the Task manager; it goes, the poorer the program to read and write file. I already troubleshooting and recode the program in any ways. Still no luck Any comments to the above, very much appreciated. Thanks
Please do not post the same thing in multiple places: it duplicates work and annoys people. You already have a solution in QA: What to ask: Memory (private working set)[^] so just continue with that one.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Hi guys, I was wondering if there is any impact of the Memory (private working set) towards the performance of the windows services. I developed a Windows Service program in C#. Basically what it does is, reading an unstructured text file and then converting it to a structured text file. File size ranging 1GB to 2GB per file, in multi-threaded. As what I noted, the higher the Memory (private working set) from the Task manager; it goes, the poorer the program to read and write file. I already troubleshooting and recode the program in any ways. Still no luck Any comments to the above, very much appreciated. Thanks
Possibly. It depends on how much RAM is in the machine. What's probably happening is that you're getting a lot of swaps back and forth to the page file. Look in Task Manager at the Page Fault and Page Fault Delta columns. You'll probably have to turn these on in the View menu to see them. Oh, and don't look in Task Manager to see how much memory your .NET app is using. It's lying to you.
A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak