<?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 Re: Determining memory needed for SAS program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608389#M177058</link>
    <description>&lt;P&gt;Also 2GB is way too low for a Production environment - ours is set to 8GB currently.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Nov 2019 00:38:05 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-11-30T00:38:05Z</dc:date>
    <item>
      <title>Determining memory needed for SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608359#M177038</link>
      <description>&lt;P&gt;Hello community, I am running SAS 9.4 programs via a Grid in linux. Is there a way to determine how much memory a program needs to run?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In our shop we allocate around 5gb of memory to our testing environment but only about 2gb of memory in our production environment. This has led to jobs failing in prod because of insufficient memory even though it ran fine in&amp;nbsp; test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know we can use the&amp;nbsp;getoption('xmrlmem') to see how much memory is available for the job. But is there a way to see how memory a program actually used?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to know ahead of time if I need to allocate more memory in prod for a program to run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 20:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608359#M177038</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-11-29T20:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determining memory needed for SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608362#M177041</link>
      <description>&lt;P&gt;You can't calculate SAS memory usage in advance, but if you add the SAS option FULLSTIMER, SAS will report memory usage in the log.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options fullstimer;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Nov 2019 21:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608362#M177041</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-29T21:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Determining memory needed for SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608365#M177044</link>
      <description>Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;, my understanding of the fullstimer option is it will provide expanded detail, including memory usage, for each step in the program. If I wanted to estimate total memory usage for the program would I just add each steps memory usage to get a total?</description>
      <pubDate>Fri, 29 Nov 2019 21:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608365#M177044</guid>
      <dc:creator>supp</dc:creator>
      <dc:date>2019-11-29T21:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Determining memory needed for SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608366#M177045</link>
      <description>&lt;P&gt;No, memory usage for a program would be the maximum memory across all steps. SAS program steps process sequentially so only the step using the most memory is relevant.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 21:12:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608366#M177045</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-29T21:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Determining memory needed for SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608372#M177049</link>
      <description>It also depends what procedures you use. Some aren't affected by memory and others such as statistical procedures can be very memory dependent. &lt;BR /&gt;&lt;BR /&gt;5GB of memory is low though....usually the standard these days is 16GB for any work I've done lately.</description>
      <pubDate>Fri, 29 Nov 2019 21:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608372#M177049</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-29T21:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Determining memory needed for SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608389#M177058</link>
      <description>&lt;P&gt;Also 2GB is way too low for a Production environment - ours is set to 8GB currently.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2019 00:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Determining-memory-needed-for-SAS-program/m-p/608389#M177058</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-30T00:38:05Z</dc:date>
    </item>
  </channel>
</rss>

