<?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: Unable to allocate sufficient memory in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102821#M28781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many unique values are there in each of your table variables? SAS needs enough memory to track each value in each variable. Try simplifying your TABLE statement by removing one variable at a time until the program runs successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 04:17:53 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2013-02-08T04:17:53Z</dc:date>
    <item>
      <title>Unable to allocate sufficient memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102820#M28780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run a frequency and output a dataset with five different variables.&amp;nbsp; Here is my code:&lt;/P&gt;&lt;P&gt;PROC FREQ DATA=EXP noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES CENSUS*CUMM*PIT*WEEK*DAY/LIST OUT=TEMP1;RUN;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting this message:&amp;nbsp; Can anyone help me please?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&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;&lt;/P&gt;&lt;P&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 00:12:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102820#M28780</guid>
      <dc:creator>SAS_new</dc:creator>
      <dc:date>2013-02-08T00:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate sufficient memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102821#M28781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many unique values are there in each of your table variables? SAS needs enough memory to track each value in each variable. Try simplifying your TABLE statement by removing one variable at a time until the program runs successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 04:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102821#M28781</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-02-08T04:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate sufficient memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102822#M28782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"&gt;Just Use the &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;MEMSIZE &lt;/STRONG&gt;&lt;/SPAN&gt;option as it specifies the limit on the total amount of memory to be used by SAS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"&gt;To determine the optimal setting of MEMSIZE, run the SAS procedure or DATA step with MEMSIZE=0 with the FULLSTIMER option. Note the amount of memory that is used by the process, and then set MEMSIZE to a larger amount.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 1.4em 0px 0px; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"&gt;Setting MEMSIZE to 0 is the same as setting MEMSIZE to MAX.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 1.4em 0px 0px; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; color: #000000; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000;"&gt;/Daman&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 07:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102822#M28782</guid>
      <dc:creator>damanaulakh88</dc:creator>
      <dc:date>2013-02-08T07:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate sufficient memory</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102823#M28783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also sort the data by the variable with the most levels and change that into a BY variable, that is likely to get your FREQ into the space you have. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 13:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Unable-to-allocate-sufficient-memory/m-p/102823#M28783</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-02-08T13:49:51Z</dc:date>
    </item>
  </channel>
</rss>

