<?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: Insufficiency memory error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445700#M111724</link>
    <description>&lt;P&gt;Change the MEMSIZE setting then. Maybe to 6 GB to start with.&lt;/P&gt;
&lt;P&gt;This is done by changing the SAS configuration. Either in the SAS config file or in the desktop shortcut.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 02:09:25 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-03-15T02:09:25Z</dc:date>
    <item>
      <title>Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/444989#M111464</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran the following logistic regression (11,590 observations) and got an insufficiency memory error.&lt;/P&gt;&lt;P&gt;980&lt;/P&gt;&lt;P&gt;981 proc logistic data=c11;&lt;/P&gt;&lt;P&gt;982 model deltar (descending) = lev fsize lirisk mb ltenure outsidechmn ceoapptdoutsdirs&lt;/P&gt;&lt;P&gt;982! staggered&lt;/P&gt;&lt;P&gt;983 pctoldoutsdirs pctbusyoutsdirs outsidedirholds lnumberdirs pctfinexpsaud/rsq;&lt;/P&gt;&lt;P&gt;984 output out=p1 p=prob;&lt;/P&gt;&lt;P&gt;985 run;&lt;/P&gt;&lt;P&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/P&gt;&lt;P&gt;NOTE: There were 11590 observations read from the data set WORK.C11.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.P1 may be incomplete. When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;observations and 272 variables.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/P&gt;&lt;P&gt;real time 2.94 seconds&lt;/P&gt;&lt;P&gt;cpu time 2.66 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked up information and tried&amp;nbsp;maximizing memory. Where do I need to put this command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;987 options memsize=max;&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;WARNING 30-12: SAS option MEMSIZE is valid only at startup of the SAS System. The SAS option is&lt;/P&gt;&lt;P&gt;ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Joon1&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 00:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/444989#M111464</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2018-03-13T00:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445001#M111465</link>
      <description>&lt;P&gt;Please run this:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; data _null_; FREERAM_MB=input(getoption('xmrlmem'),20.)/1024/1024; put FREERAM_MB= 8.; run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; proc options group=memory; run;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 02:54:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445001#M111465</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-13T02:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445155#M111519</link>
      <description>&lt;P&gt;That is really weird.&amp;nbsp;&lt;SPAN&gt;11,590 observations should NOT be big data for proc logistic.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or try PROC HPLOGISTIC&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 13:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445155#M111519</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-03-13T13:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445588#M111684</link>
      <description>&lt;P&gt;Thank you so much for your response&lt;/P&gt;&lt;P&gt;Even after entering your code at the first line, I still have the same error message. Any further advice will be highly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;504 data _null_; FREERAM_MB=input(getoption('xmrlmem'),20.)/1024/1024; put FREERAM_MB= 8.; run;&lt;/P&gt;&lt;P&gt;FREERAM_MB=1622&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.00 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;505 proc options group=memory; run;&lt;/P&gt;&lt;P&gt;SAS (r) Proprietary Software Release 9.4 TS1M3&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;Group=MEMORY&lt;/P&gt;&lt;P&gt;SORTSIZE=268435456&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&lt;/P&gt;&lt;P&gt;summarization procedures when class variables are active.&lt;/P&gt;&lt;P&gt;MAXMEMQUERY=0 Specifies the maximum amount of memory that is allocated for procedures.&lt;/P&gt;&lt;P&gt;MEMBLKSZ=16777216 Specifies the memory block size for Windows memory-based libraries.&lt;/P&gt;&lt;P&gt;MEMMAXSZ=2147483648&lt;/P&gt;&lt;P&gt;Specifies the maximum amount of memory to allocate for using memory-based&lt;/P&gt;&lt;P&gt;libraries.&lt;/P&gt;&lt;P&gt;LOADMEMSIZE=0 Specifies a suggested amount of memory that is needed for executable programs&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;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;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;/P&gt;&lt;P&gt;real time 0.01 seconds&lt;/P&gt;&lt;P&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;498&lt;/P&gt;&lt;P&gt;499 proc logistic data=c11;&lt;/P&gt;&lt;P&gt;500 model deltar (descending) = lev fsize lirisk mb ltenure outsidechmn ceoapptdoutsdirs&lt;/P&gt;&lt;P&gt;500! staggered&lt;/P&gt;&lt;P&gt;501 pctoldoutsdirs pctbusyoutsdirs outsidedirholds lnumberdirs pctfinexpsaud/rsq;&lt;/P&gt;&lt;P&gt;502 output out=p1 p=prob;&lt;/P&gt;&lt;P&gt;503 run;&lt;/P&gt;&lt;P&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/P&gt;&lt;P&gt;NOTE: There were 11590 observations read from the data set WORK.C11.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.P1 may be incomplete. When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;observations and 272 variables.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE LOGISTIC used (Total process time):&lt;/P&gt;&lt;P&gt;real time 2.64 seconds&lt;/P&gt;&lt;P&gt;cpu time 2.43 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 18:57:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445588#M111684</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2018-03-14T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445589#M111685</link>
      <description>&lt;P&gt;Thank you so much for your help&lt;/P&gt;&lt;P&gt;I tried hplogistic command and it just runs program without producing results. The hard drive of computer is very noisy and the computer (Dell PC) is not functioning well. Do you have any other advice?&amp;nbsp; Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Joon1&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 18:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445589#M111685</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2018-03-14T18:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445649#M111700</link>
      <description>&lt;P&gt;You are only giving SAS 2GB of RAM, of which 1.6 GB is usable for procedures..&lt;/P&gt;
&lt;P&gt;Is your PC using a 64-bit OS?&lt;/P&gt;
&lt;P&gt;How much memory do you have? 4GB or more?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is so, try increasing the value of MEMSIZE.&lt;/P&gt;
&lt;P&gt;If not, I don't know enough about proc logistic to comment further.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can still increase MEMSIZE with no available RAM, but the processing will then take place on disk and take a looooooooooooooong time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445649#M111700</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-14T22:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445654#M111704</link>
      <description>Thank you&lt;BR /&gt;My pc is 64 bit OS. RAM is 8.00 GB (7.49 GB usable). The sample is only&lt;BR /&gt;11,590 observations. It is very strange to have memory issue. This may be&lt;BR /&gt;not real memory issue.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445654#M111704</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2018-03-14T22:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445700#M111724</link>
      <description>&lt;P&gt;Change the MEMSIZE setting then. Maybe to 6 GB to start with.&lt;/P&gt;
&lt;P&gt;This is done by changing the SAS configuration. Either in the SAS config file or in the desktop shortcut.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 02:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/445700#M111724</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-15T02:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/446358#M111979</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 21:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/446358#M111979</guid>
      <dc:creator>joon1</dc:creator>
      <dc:date>2018-03-16T21:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/446438#M112004</link>
      <description>&lt;P&gt;PROC GENMOD also can do logistic regression. But I am not sure if it could work out.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Mar 2018 12:49:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/446438#M112004</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-03-17T12:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficiency memory error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/446543#M112045</link>
      <description>Please select an answer that solved your problem. Not your own post.</description>
      <pubDate>Sun, 18 Mar 2018 07:33:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficiency-memory-error/m-p/446543#M112045</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-18T07:33:05Z</dc:date>
    </item>
  </channel>
</rss>

