<?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 MEMSIZE and FULLSTIMER options for memory issues in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277342#M55667</link>
    <description>&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;I keep getting the below error for memory size. After taking a look around, it seems using memsize and fullstimer options might be a good way to resolve the error, once it is determined the memory needed. However, I don't see how to implement these options. It appears you can set it in a data step or proc, but don't see examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone familiar with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR: Unable to allocate sufficient memory. At least 1521783K bytes were requested, but only 786430K were available. You must either increase the amount of memory available, or approach the problem differently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The SAS System stopped processing this step because of insufficient memory."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 18:35:32 GMT</pubDate>
    <dc:creator>Paul_NYS</dc:creator>
    <dc:date>2016-06-14T18:35:32Z</dc:date>
    <item>
      <title>MEMSIZE and FULLSTIMER options for memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277342#M55667</link>
      <description>&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;I keep getting the below error for memory size. After taking a look around, it seems using memsize and fullstimer options might be a good way to resolve the error, once it is determined the memory needed. However, I don't see how to implement these options. It appears you can set it in a data step or proc, but don't see examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone familiar with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR: Unable to allocate sufficient memory. At least 1521783K bytes were requested, but only 786430K were available. You must either increase the amount of memory available, or approach the problem differently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The SAS System stopped processing this step because of insufficient memory."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277342#M55667</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2016-06-14T18:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: MEMSIZE and FULLSTIMER options for memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277347#M55671</link>
      <description>&lt;P&gt;I use these options when I run into problems with insufficient memory. FULLSTIMER causes SAS to add memory usage statistics to the log. MEMSIZE changes the amount of memory available to SAS. This is typically a 2-step process. First, I run the problem program with both FULLSTIMER and MEMSIZE MAX and check the log to see how much memory SAS actually needed to run the program. Second, I add OPTIONS MEMSIZE &lt;EM&gt;nn&lt;/EM&gt; to the program, where &lt;EM&gt;nn&lt;/EM&gt; is the amount of memory SAS needed plus a little bit more for "breathing room."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You didn't say which O/S you're using, so here's the doc for &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n0srij4mcdpzv2n1vtphltb00xjw.htm" target="_blank"&gt;MEMSIZE&lt;/A&gt; and &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p07iiwnf85r6lwn1xg9zl58ouvw1.htm" target="_blank"&gt;FULLSTIMER &lt;/A&gt;for Windows. Both options can be used in a configuration file or at SAS invocation. &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#p0drw76qo0gig2n1kcoliekh605k.htm" target="_blank"&gt;Here's doc&lt;/A&gt; on how to do this on Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be that your program doesn't complete even when you use MEMSIZE MAX, but solving that program requires more detail about your program.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 18:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277347#M55671</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2016-06-14T18:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: MEMSIZE and FULLSTIMER options for memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277360#M55675</link>
      <description>&lt;P&gt;I am using a Windows 7 desktop. Where is the configuration file located?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 19:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277360#M55675</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2016-06-14T19:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: MEMSIZE and FULLSTIMER options for memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277434#M55703</link>
      <description>&lt;P&gt;As mentioned, FULLSTIMER only gives you information about memory usage, it does not change memory settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MEMSIZE changes the maximum SAS virtual memory footprint, and must be set at the time SAS starts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that some procedures are also affected by the SORTSIZE and SUMSIZE options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a schema taken from the book&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.amazon.com/High-Performance-SAS-Coding-Christian-Graffeuille/dp/1512397490" target="_blank"&gt;High Performance SAS Coding&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.amazon.com/High-Performance-SAS-Coding-Christian-Graffeuille/dp/1512397490" target="_blank"&gt;https://www.amazon.com/High-Performance-SAS-Coding-Christian-Graffeuille/dp/1512397490&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that summarises how&amp;nbsp;the memory settings are nested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="aaa1.PNG" alt="aaa1.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/3626i461E52EA2C51B661/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 21:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/MEMSIZE-and-FULLSTIMER-options-for-memory-issues/m-p/277434#M55703</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2016-06-16T21:41:13Z</dc:date>
    </item>
  </channel>
</rss>

