<?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: ERROR: Not enough memory available to allocate storage. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227124#M54151</link>
    <description>&lt;P&gt;Do you use Enterprise Guide or Regular SAS?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article ( &lt;A href="http://support.sas.com/kb/31/715.html" target="_self"&gt;http://support.sas.com/kb/31/715.html&lt;/A&gt;&amp;nbsp;), though slightly dated, states that in the absence of a hotfix, "&lt;SPAN&gt;&lt;STRONG&gt;DBMS=EXCEL&lt;/STRONG&gt;" should be used instead of "&lt;STRONG&gt;DBMS=XLS&lt;/STRONG&gt;".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, are you using "&lt;STRONG&gt;OPTIONS COMPRESS=YES;&lt;/STRONG&gt;"? This option is absolutely critical&amp;nbsp;when you have&amp;nbsp;a significant number of&amp;nbsp;character variables that vary in length.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Permutations of&amp;nbsp;DBMS options (EXCEL/XLS/XLSX) and file formats (.xls, .xlsx, .xml)&amp;nbsp;might be&amp;nbsp;worth&amp;nbsp;a shot (or you can come up with your own):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;try&amp;nbsp;DBMS=EXCEL&amp;nbsp;with your existing ".xls" file&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;try&amp;nbsp;&lt;/SPAN&gt;DBMS=XLSX with your existing ".xls" file&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;within Excel, save the file as ".xlsx" and try&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 20px;"&gt;DBMS=XLSX&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;within Excel, save the file as Excel ".xml" and &lt;SPAN&gt;try&amp;nbsp;&lt;/SPAN&gt;DBMS=XLSX&lt;/LI&gt;
&lt;LI&gt;within Excel, save the file as Excel ".xml" and &lt;SPAN&gt;try&amp;nbsp;&lt;/SPAN&gt;DBMS=XLS&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of the above&amp;nbsp;pairs&amp;nbsp;may not make sense, so my suggestions should be taken with&amp;nbsp;a grain of salt.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-- hbi&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2015 17:04:45 GMT</pubDate>
    <dc:creator>hbi</dc:creator>
    <dc:date>2015-09-24T17:04:45Z</dc:date>
    <item>
      <title>ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227118#M54149</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to import a sheet from an excel file. However, it gave me this error message.&lt;/P&gt;&lt;P&gt;Here is what I did:&lt;/P&gt;&lt;P&gt;------------------------------------------&lt;/P&gt;&lt;P&gt;libname SAStry cvp "/folders/myfolders/Jobs";&lt;BR /&gt;proc import datafile='/folders/myfolders/Jobs/AE.xls'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;out=SAStry.allsae dbms=xls;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;sheet="sae";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;------------------------------------------&lt;/P&gt;&lt;P&gt;Log file:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;55&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;56 libname SAStry cvp "/folders/myfolders/Jobs";&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref SASTRY was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Engine: CVP&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: /folders/myfolders/Jobs&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;57 proc import datafile='/folders/myfolders/Jobs/AE.xls'&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;58 out=SAStry.allsae dbms=xls;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;59 sheet="sae";&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;60 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Memory request error&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Not enough memory available to allocate storage.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.25 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.27 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;61&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;62 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;--------------------------------------------------------&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;I used CVP engine to avoid the data truncated since this excel file contains information in different languages.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;I tried google this error message or tried to increase memory in the vmware player setting. So far nothing worked.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Could anyone please give me some help/hints? Thank you:)&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Lei&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Sep 2015 16:21:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227118#M54149</guid>
      <dc:creator>Lei576</dc:creator>
      <dc:date>2015-09-24T16:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227123#M54150</link>
      <description>&lt;P&gt;Basically, your computer does not have enough memory to perform this task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try rebooting your computer and making sure that the only application running is SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the long term fix is most likely that you need more memory in your computer AND a 64-bit operating system.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 16:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227123#M54150</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-09-24T16:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227124#M54151</link>
      <description>&lt;P&gt;Do you use Enterprise Guide or Regular SAS?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article ( &lt;A href="http://support.sas.com/kb/31/715.html" target="_self"&gt;http://support.sas.com/kb/31/715.html&lt;/A&gt;&amp;nbsp;), though slightly dated, states that in the absence of a hotfix, "&lt;SPAN&gt;&lt;STRONG&gt;DBMS=EXCEL&lt;/STRONG&gt;" should be used instead of "&lt;STRONG&gt;DBMS=XLS&lt;/STRONG&gt;".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, are you using "&lt;STRONG&gt;OPTIONS COMPRESS=YES;&lt;/STRONG&gt;"? This option is absolutely critical&amp;nbsp;when you have&amp;nbsp;a significant number of&amp;nbsp;character variables that vary in length.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Permutations of&amp;nbsp;DBMS options (EXCEL/XLS/XLSX) and file formats (.xls, .xlsx, .xml)&amp;nbsp;might be&amp;nbsp;worth&amp;nbsp;a shot (or you can come up with your own):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;try&amp;nbsp;DBMS=EXCEL&amp;nbsp;with your existing ".xls" file&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;try&amp;nbsp;&lt;/SPAN&gt;DBMS=XLSX with your existing ".xls" file&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;within Excel, save the file as ".xlsx" and try&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 20px;"&gt;DBMS=XLSX&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;within Excel, save the file as Excel ".xml" and &lt;SPAN&gt;try&amp;nbsp;&lt;/SPAN&gt;DBMS=XLSX&lt;/LI&gt;
&lt;LI&gt;within Excel, save the file as Excel ".xml" and &lt;SPAN&gt;try&amp;nbsp;&lt;/SPAN&gt;DBMS=XLS&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of the above&amp;nbsp;pairs&amp;nbsp;may not make sense, so my suggestions should be taken with&amp;nbsp;a grain of salt.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-- hbi&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 17:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227124#M54151</guid>
      <dc:creator>hbi</dc:creator>
      <dc:date>2015-09-24T17:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227126#M54152</link>
      <description>&lt;P&gt;Thank you for the quick reply, PaigeMiller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try the reboot and see how it will turn out. My OS is windows 10 X 64 bits by the way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 17:08:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227126#M54152</guid>
      <dc:creator>Lei576</dc:creator>
      <dc:date>2015-09-24T17:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227128#M54153</link>
      <description>&lt;P&gt;Hello Hbi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying my post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS university Edition and my OS is windows 10x64bits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i did try DBMS=excel and it gave me "Error: DBMS type excel not valid for import".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Lei&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 17:20:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227128#M54153</guid>
      <dc:creator>Lei576</dc:creator>
      <dc:date>2015-09-24T17:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227202#M54167</link>
      <description>&lt;P&gt;Try adding this statement to your code to find out how much memory SAS is using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options fullstimer;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Sep 2015 00:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227202#M54167</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-25T00:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Not enough memory available to allocate storage.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227469#M54187</link>
      <description>&lt;P&gt;And post the result of&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options group=memory;run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and of&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put Free RAM = %sysfunc(putn(%sysfunc(getoption(xmrlmem))/1024**2,comma10.))MB;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2015 10:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Not-enough-memory-available-to-allocate-storage/m-p/227469#M54187</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2015-09-28T10:42:36Z</dc:date>
    </item>
  </channel>
</rss>

