<?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: Problem with memsize in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169477#M9790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried to set -memsize=2G in config file. &lt;/P&gt;&lt;P&gt;and run proc option&lt;/P&gt;&lt;P&gt;got result:&lt;/P&gt;&lt;P&gt; MEMMAXSZ=2147483648&lt;/P&gt;&lt;P&gt;&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=2147483648&lt;/P&gt;&lt;P&gt;&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 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;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then run my script. still same error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f8f8f8;"&gt; ERROR: Unable to allocate sufficient memory. At least 12600K bytes were requested. You must either increase the amount of memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; available, or approach the problem…&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 16:28:49 GMT</pubDate>
    <dc:creator>Aman4SAS</dc:creator>
    <dc:date>2014-10-02T16:28:49Z</dc:date>
    <item>
      <title>Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169473#M9786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i facing error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Unable to allocate sufficient memory. At least 12600K bytes were requested. You must either increase the amount of memory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; available, or approach the problem differently.&lt;/P&gt;&lt;P&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use option memsize=0 ; at the starting of my script. but it doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly suggest me on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169473#M9786</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-10-02T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169474#M9787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What did you set memsize to? Does your system actually have that much memory (plus enough for OS and other programs running)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 15:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169474#M9787</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-10-02T15:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169475#M9788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried&amp;nbsp; option memsize=0;&amp;nbsp; and no other program is running. And how can i know about my system memory as u suggested. I am not running batch script, i m running script in window mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 15:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169475#M9788</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-10-02T15:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169476#M9789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can run a&lt;/P&gt;&lt;P&gt;proc options group=memory;run; and check current memsize setting.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memsize cannot be changed dynamically, if I remember correctly. If can be changes in the sas configuration options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, please run again with &lt;/P&gt;&lt;P&gt;options fullstimer;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before the step that fails and this will report the amount of memory it uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 16:08:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169476#M9789</guid>
      <dc:creator>ouelletpatrick</dc:creator>
      <dc:date>2014-10-02T16:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169477#M9790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried to set -memsize=2G in config file. &lt;/P&gt;&lt;P&gt;and run proc option&lt;/P&gt;&lt;P&gt;got result:&lt;/P&gt;&lt;P&gt; MEMMAXSZ=2147483648&lt;/P&gt;&lt;P&gt;&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=2147483648&lt;/P&gt;&lt;P&gt;&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 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;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then run my script. still same error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f8f8f8;"&gt; ERROR: Unable to allocate sufficient memory. At least 12600K bytes were requested. You must either increase the amount of memory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; available, or approach the problem…&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 16:28:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169477#M9790</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-10-02T16:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169478#M9791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my experience 2G is a sufficient MEMSIZE setting for most SAS programs. With SAS 9.4 2G is in fact the SAS default setting. Also how much physical memory does your SAS computer have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you also post the code giving the error so we can offer advice on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 18:56:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169478#M9791</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-10-02T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169479#M9792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would increase the "MEMSIZE=2G" statement in your config file to some much larger number plus add the "OPTIONS FULLSTIMER;" statement.&amp;nbsp; After it runs successfully, check the SAS Log to see how much memory was actually used.&amp;nbsp; Then you can alter the MEMSIZE value to a number slightly higher than what is needed.&amp;nbsp; One thing to remember, is that SAS will allocate whatever memory is needed up to the MEMSIZE value.&amp;nbsp; If you have a MEMSIZE=50G in your config file and only need 10G, then SAS will only allocate 10G, not the 50G that is in the config.&amp;nbsp; You also should know how much memory is even available on your server....128G, 256G, etc.&amp;nbsp; What step are you even running?&amp;nbsp; PROC SORT?&amp;nbsp; DATA STEP HASH programming step?&amp;nbsp; PROC SQL with GROUP BY?&amp;nbsp; Are you JOINing multiple datasets?&amp;nbsp; How large are the input file(s)?&amp;nbsp; These are things you need to know to help determine how much memory you might need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 12:00:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169479#M9792</guid>
      <dc:creator>BillNeaton</dc:creator>
      <dc:date>2014-10-06T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169480#M9793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You also haven't mentioned what system you are running SAS on.&amp;nbsp; Some systems, like z/OS have much greater restrictions on memory&lt;/P&gt;&lt;P&gt;use and require specific steps to get more for your program.&amp;nbsp; From what I recall, the memsize=0 hole has been patched on most systems&lt;/P&gt;&lt;P&gt;so it won't just give you everything available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 12:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169480#M9793</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2014-10-06T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169481#M9794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should know your machine environment well. Do not overspecify memory setting as you can run into thrashing.&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Thrashing_(computer_science"&gt;http://en.wikipedia.org/wiki/Thrashing_(computer_science&lt;/A&gt;). At a server environment you have to deal with many users you could do something with serviceclasses (wlm). This is implemented with the latest Unix versions with Cgroups &lt;A href="http://en.wikipedia.org/wiki/Cgroups" title="http://en.wikipedia.org/wiki/Cgroups"&gt;cgroups - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is a dedicated area to know what you are doing. Contact the related admins for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 12:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169481#M9794</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-06T12:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169482#M9795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;12600K evaluates to appr. 12.5 MB, WAY below your 2GB. I suspect you run into a limit imposed by the operating system.&lt;/P&gt;&lt;P&gt;Post OS data, code and log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 12:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169482#M9795</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-10-06T12:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169483#M9796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are running on UNIX or LINUX, you may be able to run the ulimit command to find out how much memory is available to SAS; e.g. the following code would show in the SAS log the amount of memory available from the operating system (soft limit) for a process (but doesn't reflect how much SAS requested) and then show the amount of memory that could be allocated (hard limit) for a process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename foo pipe "ulimit -Sa" ;&lt;BR /&gt;data _null_ ;&lt;BR /&gt;infile foo ;&lt;BR /&gt;input ;&lt;BR /&gt;put _infile_ ;&lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;filename foo pipe "ulimit -Ha" ;&lt;BR /&gt;data _null_ ;&lt;BR /&gt;infile foo ;&lt;BR /&gt;input ;&lt;BR /&gt;put _infile_ ;&lt;BR /&gt;run ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 19:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169483#M9796</guid>
      <dc:creator>kconnors</dc:creator>
      <dc:date>2014-10-06T19:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with memsize</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169484#M9797</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;Thanks for all valuable input. I am working on it. &lt;/P&gt;&lt;P&gt;I am not able to post the data or code bcaz its very lengthy. &lt;/P&gt;&lt;P&gt;my script to run many reports excel[near about 500+] and after that 500+ charts for related area's in PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script run fine but at last it show error reaching 440's area during creating charts.&lt;/P&gt;&lt;P&gt;i have changed memsize in config file as 0 , max, and 2G, but nothing work. &lt;/P&gt;&lt;P&gt;I am still working on that . &lt;/P&gt;&lt;P&gt;once again thanks for your valuable input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2014 07:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Problem-with-memsize/m-p/169484#M9797</guid>
      <dc:creator>Aman4SAS</dc:creator>
      <dc:date>2014-10-09T07:09:30Z</dc:date>
    </item>
  </channel>
</rss>

