<?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: Hash object memory getting full in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811767#M320223</link>
    <description>&lt;P&gt;A MEMSIZE of 2GB is a bit low these days. To give you some idea our current SAS server MEMSIZE setting is 6GB. Talk to your SAS administrator about an increased limit. At the end of the day hashes are loaded into memory so there is a limit to their size so they are no suited to very large data volumes.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 22:22:42 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-05-05T22:22:42Z</dc:date>
    <item>
      <title>Hash object memory getting full</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811763#M320219</link>
      <description>Hi,&lt;BR /&gt;Data increased 2 times and i am using HASH object to look up the data. SAS job is failing due to insufficient memory for HASH object. I checked MEMSIZE, it is 2 GB while in hash object i have 11 million records.&lt;BR /&gt;&lt;BR /&gt;1. Is there way to calculate the size of hash object at run time?&lt;BR /&gt;2. Is there any way to increase the size of hash object at run time?</description>
      <pubDate>Thu, 05 May 2022 21:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811763#M320219</guid>
      <dc:creator>navin1984</dc:creator>
      <dc:date>2022-05-05T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hash object memory getting full</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811767#M320223</link>
      <description>&lt;P&gt;A MEMSIZE of 2GB is a bit low these days. To give you some idea our current SAS server MEMSIZE setting is 6GB. Talk to your SAS administrator about an increased limit. At the end of the day hashes are loaded into memory so there is a limit to their size so they are no suited to very large data volumes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 22:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811767#M320223</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-05-05T22:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hash object memory getting full</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811785#M320235</link>
      <description>&lt;P&gt;If you are using 32 bit SAS, then 2 GB is the maximum you can use. But your sas admin &lt;STRIKE&gt;should&lt;/STRIKE&gt; must know this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 05:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811785#M320235</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2022-05-06T05:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hash object memory getting full</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811786#M320236</link>
      <description>&lt;P&gt;There are ways to run programs with limited resources. Consult Paul Dorfman's papers. If you explain your issue with a constructed SAS dataset and your requirements, someone can come out with an efficient way to tackle memory issues.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 05:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811786#M320236</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2022-05-06T05:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hash object memory getting full</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811847#M320260</link>
      <description>1) If you are running Batch way ,try add option " -memsize 0 " to maximize the memory sas used.&lt;BR /&gt;2) If You can edit " autoexec.sas " ,try add option " -memsize 0 " to maximize the memory sas used.</description>
      <pubDate>Fri, 06 May 2022 12:05:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811847#M320260</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-05-06T12:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hash object memory getting full</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811850#M320263</link>
      <description>&lt;P&gt;Just want to second the suggestion for reviewing Paul Dorfman's papers (and book) on hashing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Think about limiting the variables in the hash table (do you need them all?).&amp;nbsp; As a sanity check, if you load only the keys, will they fit in memory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes you can hash in chunks (so when processing a dataset, load a hash table with data from a subset of rows, use the hash table, and then empty the hash table before loading it with data from the next chunk).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can't do what you want with hash tables, there are of course other approaches for lookups that are less memory intensive but may be slower / more disk IO.&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;</description>
      <pubDate>Fri, 06 May 2022 12:20:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-object-memory-getting-full/m-p/811850#M320263</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-05-06T12:20:06Z</dc:date>
    </item>
  </channel>
</rss>

