Thread: Please explain the process_memory_counters parameters

  1. #1
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733

    Please explain the process_memory_counters parameters

    While these forums were down again I posted this here:
    Please explain the process_memory_counters parameters
    Haven't had a reply yet despite the board supposedly being active
    From what I have managed to google of it the working set refers to how much ram it's using and the pagefile refers to how much it has reserved, unfortunately that's the most I could infer from what I could get a hold of, the sites, threads & comments never seem to explain beyond the working set and saying that it equates to the residential memory in linux etc.
    All I'd like to know is what is the non-jargon or at least reduced jargon explaination for ALL the parameters (except cb, I don't understand why M$ felt the need to add that twice, on the struct and the function that fills it)

    Edit: The best I could come up with to understand it myself is this:
    Code:
    typedef struct memcount {
    	size_t size;
    	size_t peak;
    } memcount_t;
    typedef struct memusage {
    	size_t theory; /* Fantasy limit of memory */
    	size_t faults; /* Page Faults */
    	memcount_t physical; /* RSS / Working */
    	memcount_t reserved; /* VSZ / Pagefile */
    	memcount_t nowusing; /* Paged */
    	memcount_t hovering; /* Not Paged */
    } memusage_t;

  2. #2
    Registered User
    Join Date
    Dec 2017
    Posts
    1,626
    A little inaccuracy saves tons of explanation. - H.H. Munro

  3. #3
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    Tried replying a while ago but I think my OS (Win10x64) was f***ing with my connection, was struggling to even load the site. I've now replaced it with Linux Mint (Cinnamon x64), mostly because it seemed to be f***ing with FAT handling in a REALLY bad way, files and executables were either becoming currupt or pointing to wrong spots on the drive. It appears the site managed to save my message in a cookie or something (copied of the profile folder of portable waterfox into the folder my linux version made) so here it is quoted:

    That 2nd one I already visited and deemed useless, besides naming the paramters it does jack s**t to help developers understand what it represents, the 1st link however was much more helpful, I had not come across that one. So to be sure I got my understanding correct would this
    be the basic mapping?
    Working = In RAM (process)
    Pagefile = In System File based RAM (process)
    Paged = pagefile released memory
    Non Paged = pagfile allocated memory
    Last edited by awsdert; 01-17-2019 at 04:51 PM. Reason: grammar error

  4. #4
    Registered User
    Join Date
    Dec 2017
    Posts
    1,626
    I'm not entirely sure but that seems correct to me.

    And I think the site has been inaccessible on and off for everybody.
    Still, it's always fun to try Linux. :-)
    A little inaccuracy saves tons of explanation. - H.H. Munro

  5. #5
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    Yeah, as noted before the site wasn't the reason I switched to linux, b****y microsoft messing with what was once stable drivers, only trouble with linux is making applications portable, I originally tried to install to my USB drive but my PC wouldn't recognize it as a boot option (it does show some USBs since I enabled it in BIOS) I'll try again later when I get my 50TB external HDD I ordered via the wish app on my phone.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 10-08-2017, 04:42 PM
  2. Are these parameters??
    By dayalsoap in forum C++ Programming
    Replies: 2
    Last Post: 03-30-2011, 01:57 AM
  3. How to get OS parameters
    By smboucou in forum C++ Programming
    Replies: 6
    Last Post: 11-26-2008, 12:15 PM
  4. Help With Parameters
    By peckitt99 in forum C++ Programming
    Replies: 30
    Last Post: 10-29-2006, 03:18 PM
  5. Parameters
    By zach0616 in forum C++ Programming
    Replies: 2
    Last Post: 08-19-2004, 03:26 PM

Tags for this Thread