<?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: SAS System stopped processing this step because of insufficient memory. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/603006#M174664</link>
    <description>&lt;P&gt;MEMSIZE has to be passed as an initialization parameter.If you are running SAS in batch mode you may try increasing the MEMSIZE by passing the option from the command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sas &amp;lt;program_name.sas&amp;gt; -MEMSIZE &amp;lt;N&amp;gt;G &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using SAS EG/EM then this is something that you need to ask your administrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Nov 2019 18:39:50 GMT</pubDate>
    <dc:creator>r_behata</dc:creator>
    <dc:date>2019-11-09T18:39:50Z</dc:date>
    <item>
      <title>SAS System stopped processing this step because of insufficient memory.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/602984#M174646</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am fitting mixed model to yield trial across 30 environments assuming residual variance is heterogeneous across all trials. I have error that&amp;nbsp;ERROR: &lt;STRONG&gt;The SAS System stopped processing this step because of insufficient memory&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc options option=memsize;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;to check memory size and it returned&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS (r) Proprietary Software Release 9.4 TS1M2&lt;/P&gt;&lt;P&gt;MEMSIZE=2147483648&lt;BR /&gt;Specifies the limit on the amount of virtual memory that can be used during a SAS session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please how do I maximize the memory using memsize option? Below is my sas script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data = filtered_pheno noitprint noclprint covtest update;&lt;BR /&gt;by trait;&lt;BR /&gt;class trial rep gen;&lt;BR /&gt;model y = trial prop_hav/ddfm = kr;&lt;BR /&gt;random rep(trial) gen gen*trial;&lt;BR /&gt;repeated /group = trial;&lt;BR /&gt;ods output Fitstatistics = &amp;amp;dsn._trait_fitstat;&lt;BR /&gt;ods output Dimensions = &amp;amp;dsn._trait_dim;&lt;BR /&gt;ods output CovParms = &amp;amp;dsn._trait_parms;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, is it more efficient to put ods output statement before proc mixed statement or it doesn't matter if it is within proc mixed procedure as in this script.&lt;/P&gt;&lt;P&gt;Please I need step-by-step guide on how to resolve the memory issue so that I could analyse my data. Or is there a better way to improve my model? I have a large memory size going by proc options output.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Moshood&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>Sat, 09 Nov 2019 13:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/602984#M174646</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2019-11-09T13:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS System stopped processing this step because of insufficient memory.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/602986#M174648</link>
      <description>&lt;P&gt;to test the efficiency run the proc both ways and compare the results.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 13:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/602986#M174648</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-11-09T13:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS System stopped processing this step because of insufficient memory.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/603006#M174664</link>
      <description>&lt;P&gt;MEMSIZE has to be passed as an initialization parameter.If you are running SAS in batch mode you may try increasing the MEMSIZE by passing the option from the command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sas &amp;lt;program_name.sas&amp;gt; -MEMSIZE &amp;lt;N&amp;gt;G &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using SAS EG/EM then this is something that you need to ask your administrator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 18:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/603006#M174664</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2019-11-09T18:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS System stopped processing this step because of insufficient memory.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/603061#M174695</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have got temporary solution to the posted question about memory issue. What I did is to change ddfm =kr in the model statement to ddfm=satterth. I also put all my ods output statement outside proc mixed and not within proc mixed procedure. I used as well ods noresults.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 14:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-System-stopped-processing-this-step-because-of-insufficient/m-p/603061#M174695</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2019-11-10T14:46:46Z</dc:date>
    </item>
  </channel>
</rss>

