<?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: how to deal with Hash error &amp;quot;Hash object added 0 items when memory failure occurred.&amp;quot; in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393676#M11970</link>
    <description>&lt;P&gt;Thank you. I am use it for some do loop calculations. See details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/how-to-come-up-with-a-do-loop-in-SAS-in-this-special-situation/m-p/393347#M11947" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/how-to-come-up-with-a-do-loop-in-SAS-in-this-special-situation/m-p/393347#M11947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2017 18:51:54 GMT</pubDate>
    <dc:creator>Jade_SAS</dc:creator>
    <dc:date>2017-09-06T18:51:54Z</dc:date>
    <item>
      <title>how to deal with Hash error "Hash object added 0 items when memory failure occurred." ?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393668#M11968</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi all,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am running a do loop and got into this hash error, wonder how can I deal with this error. please note I'm runing with SAS EG on linux server. (SAS EG is on my laptop)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Detailed error info:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: Hash object added 0 items when memory failure occurred.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;FATAL: Insufficient memory to execute DATA step program. Aborted during the EXECUTION phase.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Possible solution I can think of:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) Split big data set to small ones. I have total records about 3500000, it seems I need to split to at least 15 data sets. (I tested the small data set ran through the sas code successfully)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) Increase the memory size?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I ran&lt;/STRONG&gt; &lt;STRONG&gt;the code&lt;/STRONG&gt; &lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;Options&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=memory; &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;run&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&amp;nbsp;&lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/FONT&gt;&lt;STRONG&gt; the results are as follows:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Group=MEMORY&lt;/P&gt;&lt;P&gt;SORTSIZE=1073741824&lt;/P&gt;&lt;P&gt;Specifies the amount of memory that is available to the SORT procedure.&lt;/P&gt;&lt;P&gt;SUMSIZE=0 Specifies a limit on the amount of memory that is available for data summarization procedures when class&lt;/P&gt;&lt;P&gt;variables are active.&lt;/P&gt;&lt;P&gt;MAXMEMQUERY=268435456&lt;/P&gt;&lt;P&gt;For certain procedures, specifies the maximum amount of memory that can be allocated per request.&lt;/P&gt;&lt;P&gt;LOADMEMSIZE=0 Specifies a suggested amount of memory that is needed for executable programs loaded by SAS.&lt;/P&gt;&lt;P&gt;MEMSIZE=2147483648&lt;/P&gt;&lt;P&gt;Specifies the limit on the amount of virtual memory that can be used during a SAS session.&lt;/P&gt;&lt;P&gt;REALMEMSIZE=0 Specifies the amount of real memory SAS can expect to allocate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please advise what I should do, any suggestion is welcome. Thank you!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jade&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 18:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393668#M11968</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-09-06T18:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to deal with Hash error "Hash object added 0 items when memory failure occurred."</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393669#M11969</link>
      <description>&lt;P&gt;What are you trying to do with the hash? At 3.5 million records a plain sort/lookup may be better than a divide and conquer approach.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 18:40:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393669#M11969</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-06T18:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to deal with Hash error "Hash object added 0 items when memory failure occurred."</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393676#M11970</link>
      <description>&lt;P&gt;Thank you. I am use it for some do loop calculations. See details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/how-to-come-up-with-a-do-loop-in-SAS-in-this-special-situation/m-p/393347#M11947" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/how-to-come-up-with-a-do-loop-in-SAS-in-this-special-situation/m-p/393347#M11947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 18:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/how-to-deal-with-Hash-error-quot-Hash-object-added-0-items-when/m-p/393676#M11970</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2017-09-06T18:51:54Z</dc:date>
    </item>
  </channel>
</rss>

