<?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: Allocating RAM memory to SAS system in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88891#M257192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;thank you for helpful suggestion.&lt;/P&gt;&lt;P&gt;will try any and get back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2013 10:35:11 GMT</pubDate>
    <dc:creator>SasPro</dc:creator>
    <dc:date>2013-03-26T10:35:11Z</dc:date>
    <item>
      <title>Allocating RAM memory to SAS system</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88887#M257188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have huge dataset it takes more then a day to execute the code and some times it hangs the SAS system , execute is done very slowly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be very thank full is some one help to guide how to allocate the maximum RAM memory to SAS system.&lt;/P&gt;&lt;P&gt;presently i am havine 4GB of RAM and i wanna to allocate 3GB to SAS system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to do for this file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\1d\sasv9.cfg" -realmemsize 0&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;"C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\1d\sasv9.cfg" -memsize MAX&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;"C:\Program Files\SASHome\x86\SASFoundation\9.3\nls\1d\sasv9.cfg" -memsize 3G&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but none fo it is working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 07:56:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88887#M257188</guid>
      <dc:creator>SasPro</dc:creator>
      <dc:date>2013-03-26T07:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Allocating RAM memory to SAS system</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88888#M257189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you it doens't work (fine)?&lt;/P&gt;&lt;P&gt;If you are not sure whether the option is set, put a&lt;/P&gt;&lt;P&gt;proc options group=memory ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;in your program.&lt;/P&gt;&lt;P&gt;If you don't know in which configuration file to out the option, just ad it to the beginning of you long running program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, 3GB RAM doesn't sound much compared to the running time. So I assume that there are other bottleneck than the memory. To help you further we need some more information, like how large is your table(s), the code. Applying options fullstimer; will help you understand where the bottlenecks are.&lt;/P&gt;&lt;P&gt;Other than memory, what is the configuration of your system, I/O, disk setup etc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 08:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88888#M257189</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-26T08:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Allocating RAM memory to SAS system</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88889#M257190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;thanks for reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;executed proc option;run;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group=MEMORY&lt;/P&gt;&lt;P&gt;SORTSIZE=268435456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size parameter for sort&lt;/P&gt;&lt;P&gt;SUMSIZE=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upper limit for data-dependent memory usage during summarization&lt;/P&gt;&lt;P&gt;MAXMEMQUERY=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maximum amount of memory returned when inquiring as to available space&lt;/P&gt;&lt;P&gt;MEMBLKSZ=16777216 Size of memory blocks allocated to support MEMLIB and MEMCACHE options.&lt;/P&gt;&lt;P&gt;MEMMAXSZ=2147483648&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maximum amount of memory allocated to support MEMLIB and MEMCACHE options.&lt;/P&gt;&lt;P&gt;LOADMEMSIZE=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Suggested memory limit for loaded SAS executables&lt;/P&gt;&lt;P&gt;MEMSIZE=3941230080&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Specifies the limit on the total amount of memory to be used by the SAS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;/P&gt;&lt;P&gt;REALMEMSIZE=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Limit on the total amount of real memory to be used by the SAS System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i cant see the option to increase the RAM memory, Dataset has 850 columns and 100 thousand rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code is quite big has 1000 line code&amp;nbsp; complex macros,inline veiws and proc sql code are written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have added index were ever necessary but still code is taking too much time to execute.&lt;/P&gt;&lt;P&gt;system as 4GB ram and dual core processor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 10:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88889#M257190</guid>
      <dc:creator>SasPro</dc:creator>
      <dc:date>2013-03-26T10:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Allocating RAM memory to SAS system</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88890#M257191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But MEMSIZE is already 3,5 GB - you can't possible get more...:smileyconfused:&lt;/P&gt;&lt;P&gt;So, if you have an I/O constraint (se fullstimer), you could benefit by using compress (binary if you have most numeric columns, else char/yes).&lt;/P&gt;&lt;P&gt;If your numerical columns are mostly integers, try to someway specify less than the default 8 bytes for storage.&lt;/P&gt;&lt;P&gt;options msglevel=i; will let you know if your indexes is being used.&lt;/P&gt;&lt;P&gt;But, 1000 line code with macros...I think you should prioritize to optimize the code. Look in the log to which step(s) consumes the most resources (time, memory).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 10:28:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88890#M257191</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2013-03-26T10:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Allocating RAM memory to SAS system</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88891#M257192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.&lt;/P&gt;&lt;P&gt;thank you for helpful suggestion.&lt;/P&gt;&lt;P&gt;will try any and get back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 10:35:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Allocating-RAM-memory-to-SAS-system/m-p/88891#M257192</guid>
      <dc:creator>SasPro</dc:creator>
      <dc:date>2013-03-26T10:35:11Z</dc:date>
    </item>
  </channel>
</rss>

