Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Want to ask about Memory (private working set) Windows Services

Want to ask about Memory (private working set) Windows Services

Scheduled Pinned Locked Moved C#
performancecsharp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mercurius84
    wrote on last edited by
    #1

    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

    OriginalGriffO D 2 Replies Last reply
    0
    • M Mercurius84

      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

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      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...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • M Mercurius84

        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

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups