<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PSApi -&amp;gt; Speicher-Information]]></title><description><![CDATA[<p>Hi,</p>
<p>ich bin auf der Suche nach einer Möglichkeit unter Windows herauszufinden, wieviel Arbeitsspeicher das aktuelle Programm einnimmt.</p>
<p>So wie ich das sehe bin ich da mit der PSApi gut bedient.</p>
<p>Ich habe ein Beispiel &quot;Collecting Memory Usage Information For a Process&quot; unter <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/collecting_memory_usage_information_for_a_process.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/collecting_memory_usage_information_for_a_process.asp</a> gefunde. Es stellt sich nun die Frage, welche Zahl für mich relevant is; angeboten wird:</p>
<blockquote>
<p>cb<br />
Size of the structure, in bytes.</p>
<p>PageFaultCount<br />
Number of page faults.</p>
<p>PeakWorkingSetSize<br />
Peak working set size, in bytes.</p>
<p>WorkingSetSize<br />
Current working set size, in bytes.</p>
<p>QuotaPeakPagedPoolUsage<br />
Peak paged pool usage, in bytes.</p>
<p>QuotaPagedPoolUsage<br />
Current paged pool usage, in bytes.</p>
<p>QuotaPeakNonPagedPoolUsage<br />
Peak nonpaged pool usage, in bytes.</p>
<p>QuotaNonPagedPoolUsage<br />
Current nonpaged pool usage, in bytes.</p>
<p>PagefileUsage<br />
Current space allocated for the pagefile, in bytes. Those pages may or may not be in memory.</p>
<p>PeakPagefileUsage<br />
Peak space allocated for the pagefile, in bytes.</p>
</blockquote>
<p>Was macht da Sinn?</p>
<p>Gruss, K.B.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/137281/psapi-gt-speicher-information</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 23:48:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/137281.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Feb 2006 14:04:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PSApi -&amp;gt; Speicher-Information on Thu, 16 Feb 2006 14:05:54 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich bin auf der Suche nach einer Möglichkeit unter Windows herauszufinden, wieviel Arbeitsspeicher das aktuelle Programm einnimmt.</p>
<p>So wie ich das sehe bin ich da mit der PSApi gut bedient.</p>
<p>Ich habe ein Beispiel &quot;Collecting Memory Usage Information For a Process&quot; unter <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/collecting_memory_usage_information_for_a_process.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/collecting_memory_usage_information_for_a_process.asp</a> gefunde. Es stellt sich nun die Frage, welche Zahl für mich relevant is; angeboten wird:</p>
<blockquote>
<p>cb<br />
Size of the structure, in bytes.</p>
<p>PageFaultCount<br />
Number of page faults.</p>
<p>PeakWorkingSetSize<br />
Peak working set size, in bytes.</p>
<p>WorkingSetSize<br />
Current working set size, in bytes.</p>
<p>QuotaPeakPagedPoolUsage<br />
Peak paged pool usage, in bytes.</p>
<p>QuotaPagedPoolUsage<br />
Current paged pool usage, in bytes.</p>
<p>QuotaPeakNonPagedPoolUsage<br />
Peak nonpaged pool usage, in bytes.</p>
<p>QuotaNonPagedPoolUsage<br />
Current nonpaged pool usage, in bytes.</p>
<p>PagefileUsage<br />
Current space allocated for the pagefile, in bytes. Those pages may or may not be in memory.</p>
<p>PeakPagefileUsage<br />
Peak space allocated for the pagefile, in bytes.</p>
</blockquote>
<p>Was macht da Sinn?</p>
<p>Gruss, K.B.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995781</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995781</guid><dc:creator><![CDATA[Karl Blau]]></dc:creator><pubDate>Thu, 16 Feb 2006 14:05:54 GMT</pubDate></item><item><title><![CDATA[Reply to PSApi -&amp;gt; Speicher-Information on Thu, 16 Feb 2006 14:53:36 GMT]]></title><description><![CDATA[<p>Nimm &quot;PagefileUsage&quot; (auch &quot;Private bytes&quot; genannt).<br />
Das ist zumindest der Speicher, der meistens &quot;Leaked&quot;...</p>
<p>Du nimmst aber schon GetProcessMemoryInfo, oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995849</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Thu, 16 Feb 2006 14:53:36 GMT</pubDate></item><item><title><![CDATA[Reply to PSApi -&amp;gt; Speicher-Information on Fri, 17 Feb 2006 15:56:35 GMT]]></title><description><![CDATA[<p>Vielen Dank für den Hinweis.<br />
Gruss, K.B.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/996833</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/996833</guid><dc:creator><![CDATA[Karl Blau]]></dc:creator><pubDate>Fri, 17 Feb 2006 15:56:35 GMT</pubDate></item></channel></rss>