Memory usage

    Date: 04/04/05 (Microsoft Windows)    Keywords: no keywords

    What is the best way to know how much memory belongs to the process? It seems that nor WorkingSetSize, not PagefileUsage gives the exact number.

    PROCESS_MEMORY_COUNTERS pmc;
    if ( GetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc)) )
    File << "\tMemory=" << f(pmc.WorkingSetSize, pmc.PagefileUsage);

    Source: http://www.livejournal.com/community/ms_windows/27033.html

« (help desk software...) || Hi all :) »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home