Results 1 to 3 of 3

Thread: why is Process.WorkingSet so slow

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    why is Process.WorkingSet so slow

    I'm creating a new thread and in it I'm checking the WorkingSet property for my program's process. For some reason whenever I do that it takes like 3 seconds before the rest of the code in that thread starts executing (first time only. If I check workingSet again it wont be slow. Its only slow the first time I access it in my app)....
    what's wrong with that
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: why is Process.WorkingSet so slow

    Maybe it has something to do with the JIT?

    Does it do it in both Debug and Release modes? Release Mode is compiled differently from debug, certain optimisations are added (like removing useless loops and so forth).
    I don't live here any more.

  3. #3

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    Re: why is Process.WorkingSet so slow

    Quote Originally Posted by wossname
    Maybe it has something to do with the JIT?

    Does it do it in both Debug and Release modes? Release Mode is compiled differently from debug, certain optimisations are added (like removing useless loops and so forth).
    hmm not sure. Release mode didnt seem to change anything
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width