<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Memory demand in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Memory-demand/m-p/933488#M15352</link>
    <description>The program I am working with is a numerical simulator allocating large data arrays (Windows NT, 98). For the program performance it is crucial that the application is not using virtual memory and stays within RAM. &lt;BR /&gt;I?d like to know if there is any command in Compaq Visual Fortran that can return total memory used by the running application? It would help me to define memory demands and optimize runs. &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt;Andrei Zaostrovski</description>
    <pubDate>Sun, 31 Dec 2000 07:56:36 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2000-12-31T07:56:36Z</dc:date>
    <item>
      <title>Memory demand</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-demand/m-p/933488#M15352</link>
      <description>The program I am working with is a numerical simulator allocating large data arrays (Windows NT, 98). For the program performance it is crucial that the application is not using virtual memory and stays within RAM. &lt;BR /&gt;I?d like to know if there is any command in Compaq Visual Fortran that can return total memory used by the running application? It would help me to define memory demands and optimize runs. &lt;BR /&gt; &lt;BR /&gt;Thanks, &lt;BR /&gt;Andrei Zaostrovski</description>
      <pubDate>Sun, 31 Dec 2000 07:56:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-demand/m-p/933488#M15352</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2000-12-31T07:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory demand</title>
      <link>https://community.intel.com/t5/Software-Archive/Memory-demand/m-p/933489#M15353</link>
      <description>Andrei,  &lt;BR /&gt;I think you need to include the following lines in your code to inquire about currently available physical memory:  &lt;BR /&gt;      use kernel32  &lt;BR /&gt;      use dfwinty  &lt;BR /&gt;  &lt;BR /&gt;      type(T_MEMORYSTATUS)    lpMstMemStat            &lt;BR /&gt;  &lt;BR /&gt;      call GlobalMemoryStatus ( lpMstMemStat )  &lt;BR /&gt;       write(*,*)   &lt;BR /&gt;     *'Bytes of physical memory available -&amp;gt; ',  &lt;BR /&gt;     *              lpMstMemStat.dwAvailPhys  &lt;BR /&gt;  &lt;BR /&gt;There are many other elements in the structure that can be queried as well.  &lt;BR /&gt;  &lt;BR /&gt;But I have been puzzled at the operation of this command; it seems to result in a system memory leak.  That is, when I run a simple program with the above successively routines I get less and less available memory.  Maybe it's a quirk with my computer.  &lt;BR /&gt;    Also, does anybody know how to look up the CPU clock frequency?  &lt;BR /&gt;  &lt;BR /&gt;Harry Bell</description>
      <pubDate>Tue, 02 Jan 2001 09:23:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Memory-demand/m-p/933489#M15353</guid>
      <dc:creator>hbell</dc:creator>
      <dc:date>2001-01-02T09:23:58Z</dc:date>
    </item>
  </channel>
</rss>

