<?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: ERROR: Insufficient memory for proc mixed model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307310#M16273</link>
    <description>&lt;P&gt;Are you using SAS UE or a full install?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2016 04:46:15 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-26T04:46:15Z</dc:date>
    <item>
      <title>ERROR: Insufficient memory for proc mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307307#M16272</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a mixed model in SAS Studio (V9.4) on a&amp;nbsp;Windows 10, 64 bit computer with 6 GB of installed RAM. My model has 2 fixed effects and 2 random effects. The data set is within a xlsx file and&amp;nbsp;has 104,000 observations and 8 variables (total file size = 3500 KB). I get the following error when trying to run my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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: PROCEDURE MIXED used (Total process time):&lt;/P&gt;&lt;DIV class="sasNote"&gt;real time 3.55 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 3.51 seconds&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc mixed DATA=Variation_study;&lt;BR /&gt;class&amp;nbsp; PlayerID TeamID&amp;nbsp; SeasonID&amp;nbsp; PositionID;&lt;BR /&gt;model&amp;nbsp; DepVar =&amp;nbsp; PositionID&amp;nbsp; WinLoss;&lt;BR /&gt;random INT SeasonID / subject=PlayerID;&lt;BR /&gt;random INT SeasonID/ subject=TeamID;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this code;&lt;/P&gt;&lt;P&gt;PROC OPTIONS GROUP= MEMORY ;&lt;/P&gt;&lt;DIV class="sasSource"&gt;RUN;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;The outcome is this...&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Group=MEMORY&lt;DIV class="sasSource"&gt;SORTSIZE=1073741824&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Specifies the amount of memory that is available to the SORT procedure.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;SUMSIZE=0 Specifies a limit on the amount of memory that is available for data summarization procedures when class&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;variables are active.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;MAXMEMQUERY=268435456&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;For certain procedures, specifies the maximum amount of memory that can be allocated per request.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;LOADMEMSIZE=0 Specifies a suggested amount of memory that is needed for executable programs loaded by SAS.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;MEMSIZE=2147483648&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Specifies the limit on the amount of virtual memory that can be used during a SAS session.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;REALMEMSIZE=0 Specifies the amount of real memory SAS can expect to allocate.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Does my computer simply not have enough installed memory to complete this analysis? or is there an alternate way to write the code to use less memory? I have read some other posts on here regarding insufficient memory however, these have not been helpful to my specific situation.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Thank you for your help in advance.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Oct 2016 04:19:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307307#M16272</guid>
      <dc:creator>csullivan27</dc:creator>
      <dc:date>2016-10-26T04:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient memory for proc mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307310#M16273</link>
      <description>&lt;P&gt;Are you using SAS UE or a full install?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 04:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307310#M16273</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-26T04:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient memory for proc mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307315#M16274</link>
      <description>University edition. Could this be my problem?&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Wed, 26 Oct 2016 05:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307315#M16274</guid>
      <dc:creator>csullivan27</dc:creator>
      <dc:date>2016-10-26T05:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient memory for proc mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307318#M16275</link>
      <description>&lt;P&gt;Probably. Check the RAM assigned to your VM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your random statements may also be causing computational issues. Add one in at a time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll also move this to stat stat procs to see if someone else has better suggestions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 05:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ERROR-Insufficient-memory-for-proc-mixed-model/m-p/307318#M16275</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-26T05:29:21Z</dc:date>
    </item>
  </channel>
</rss>

