Windows Vista Forums

System.Int64 WorkingSet {get;}

  1. #1


    bluefin Guest

    System.Int64 WorkingSet {get;}

    The abovementioned is one of the definitions found in
    System.Environment class.

    See the following PS code:
    Code:
    PS R:\> [environment]::WorkingSet
    12578816
    Q1. 'WorkingSet' is a static property in technical term. What is the
    meaning of 'WorkingSet' in layman term?
    Q2. The result shows '12578816', which I think it is in terms of
    bytes, but what does it refer to?

    cheers

      My System SpecsSystem Spec

  2. #2


    Flowering Weeds Guest

    Re: System.Int64 WorkingSet {get;}


    >
    > PS R:\> [environment]::WorkingSet
    > 12578816

    >
    > Q1. 'WorkingSet' is a static property in technical term. What is the
    > meaning of 'WorkingSet' in layman term?
    > Q2. The result shows '12578816', which I think it is in terms of
    > bytes, but what does it refer to?
    >
    PS> (get-process -id $pid).workingset
    14426112

    PS> [environment]::WorkingSet
    14434304

    PS> [environment]::WorkingSet / 1024
    14104

    PS> (get-process -id $pid).workingset / 1024
    14236

    PS> get-process -id $pid

    Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
    ------- ------ ----- ----- ----- ------ -- -----------
    776 5 37080 14364 126 2.14 3244 powershell

    "Environment::WorkingSet" - Live Search
    http://search.live.com/results.aspx?...AWorkingSet%22

    Remember, Windows PowerShell is a
    Windows admin's automation tool (now
    GUI based).



      My System SpecsSystem Spec

  3. #3


    bluefin Guest

    Re: System.Int64 WorkingSet {get;}

    Thanks for quick response. According to your get-process status, WS
    isn't the same as WorkingSet, or else what? What is the definition of
    WS? Appreciated if you could explain the difference between WS Int32
    and Int64.

    Cheers

    On Dec 13, 11:55*pm, "Flowering Weeds" <n...@xxxxxx> wrote:

    > > PS R:\> [environment]::WorkingSet
    > > 12578816
    >

    > > Q1. 'WorkingSet' is a static property in technical term. What is the
    > > meaning of 'WorkingSet' in layman term?
    > > Q2. The result shows '12578816', which I think it is in terms of
    > > bytes, but what does it refer to?
    >
    > PS> (get-process -id $pid).workingset
    > 14426112
    >
    > PS> [environment]::WorkingSet
    > 14434304
    >
    > PS> [environment]::WorkingSet / 1024
    > 14104
    >
    > PS> (get-process -id $pid).workingset / 1024
    > 14236
    >
    > PS> get-process -id $pid
    >
    > Handles *NPM(K) * *PM(K) * * *WS(K) VM(M) * CPU(s) * * Id ProcessName
    > ------- *------ * *----- * * *----- ----- * ------ * * -- -----------
    > * * 776 * * * 5 * *37080 * * *14364 * 126 * * 2..14 * 3244 powershell
    >
    > "Environment::WorkingSet" - Live Searchhttp://search.live.com/results.aspx?q=%22Environment%3A%3AWorkingSet%22
    >
    > Remember, Windows PowerShell is a
    > Windows admin's automation tool (now
    > GUI based).

      My System SpecsSystem Spec

  4. #4


    Thomas Lee Guest

    Re: System.Int64 WorkingSet {get;}

    In message
    <046374a6-b032-4843-a6b2-dc0d9ae2ae4e@xxxxxx>,
    bluefin <desertcamel.chen@xxxxxx> writes

    >The abovementioned is one of the definitions found in
    >System.Environment class.
    >
    >See the following PS code:
    >
    Code:
    >PS R:\> [environment]::WorkingSet
    >12578816
    >
    >
    >Q1. 'WorkingSet' is a static property in technical term. What is the
    >meaning of 'WorkingSet' in layman term?
    >Q2. The result shows '12578816', which I think it is in terms of
    >bytes, but what does it refer to?
    In a virtual memory system (which include Windows), a process has a
    large virtual memory space, but often much/some of that virtual memory
    is not actually in use. The part of the virtual memory that is in
    physical memory is the working set.

    Windows constantly attempts to trim the working set (freeing up
    physical memory for other processes). Sometimes the aspplication
    running in the process does not need the page(s) that the memory manager
    just trimmed. Other times, the application does need the page(s) and
    take the pages back.

    Hope this makes sense.

    Thomas
    --
    Thomas Lee
    doctordns@xxxxxx

      My System SpecsSystem Spec

  5. #5


    bluefin Guest

    Re: System.Int64 WorkingSet {get;}

    Thanks for your effort to explain complex thing in plain English. I
    prefer explanation in this way, rather than with codes.

    Thomas Lee wrote: '... The part of the virtual memory that is in
    physical memory is the working set.'

    Thus, the WS is referenced to physical memory, not program memory just
    what jvierra replied in scriptinganswers.com

    Hope not offending anyone


    On Dec 14, 9:30*am, Thomas Lee <t...@xxxxxx> wrote:

    > In message
    > <046374a6-b032-4843-a6b2-dc0d9ae2a...@xxxxxx>,
    > bluefin <desertcamel.c...@xxxxxx> writes
    >

    > >The abovementioned is one of the definitions found in
    > >System.Environment class.
    >

    > >See the following PS code:
    > >
    Code:
    > >PS R:\> [environment]::WorkingSet
    > >12578816
    > >
    >

    > >Q1. 'WorkingSet' is a static property in technical term. What is the
    > >meaning of 'WorkingSet' in layman term?
    > >Q2. The result shows '12578816', which I think it is in terms of
    > >bytes, but what does it refer to?
    >
    > In a virtual memory system (which include Windows), a process has a
    > large virtual memory space, but often much/some of that virtual memory
    > is not actually in use. The part of the virtual memory that is in
    > physical memory is the working set.
    >
    > Windows constantly attempts to *trim the working set (freeing up
    > physical memory for other processes). Sometimes *the aspplication
    > running in the process does not need the page(s) that the memory manager
    > just trimmed. Other times, the application does need the page(s) and
    > take the pages back.
    >
    > Hope this makes sense.
    >
    > Thomas
    > --
    > Thomas Lee
    > doctor...@xxxxxx

      My System SpecsSystem Spec

System.Int64 WorkingSet {get;}

Similar Threads
Thread Forum
Programs - Replace System Program without Modifying System Files or Permissions
How to Replace a System Program without Modifying System Files or Permissions If you like to use replacements for system programs like...
Tutorials
Updates fail, System Repair fails, System Restore won't work
Hi, my name is Stormy, I'm new to this forum since I really haven't had any issues in the past. I am running Vista Home Premium 32bit on my...
Windows Updates
Updates fail, System Repair fails, System Restore won't work
Hi, my name is Stormy, I'm new to this forum since I really haven't had any issues in the past. I am running Vista Home Premium 32bit on my...
General Discussion
help with Vista Home Basic oem system failure corrupt system file.
A few days ago, after a windows automatic update, my computer is no longer able to boot. It returns this message:...
System Security
help with Vista Home Basic oem system failure corrupt system file.
A few days ago, after a windows automatic update, my computer is no longer able to boot. It returns this message: ...
Crashes and Debugging
Vista Blocking Shared System Drive when in WinXP (Dual Boot System)
I installed Vista on my the E drive of my system, creating a dual boot with WinXP SP2 on the first partition (logical C drive) and Vista on the...
Vista security
Issues with System drive in Disk Management on a Dual Boot system
At the moment I have XP x64 and Vista x64 installed on my machine. The way I'd like to have it setup is where the two operating systems do not...
Vista General