<?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: How to resolve insufficient memory error in SAS Studio Flow (Viya 4) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963550#M375365</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Attaching a screenshot of the error for your reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ERROR_SQL.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105962iBEB05C2F6E9C3ECB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ERROR_SQL.jpg" alt="ERROR_SQL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 05:49:53 GMT</pubDate>
    <dc:creator>mohammad_umair</dc:creator>
    <dc:date>2025-04-07T05:49:53Z</dc:date>
    <item>
      <title>How to resolve insufficient memory error in SAS Studio Flow (Viya 4)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963290#M375303</link>
      <description>&lt;P class=""&gt;Hi,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I am trying to load a manual upload into oracle table in SAS VIYA 4 environment.&lt;/P&gt;&lt;P class=""&gt;The manual upload has 1048575 records and 148 columns.&lt;/P&gt;&lt;P class=""&gt;I am getting insufficient memory error while executing this flow.&lt;/P&gt;&lt;P class=""&gt;In the flow, i'm calling a .sas program which has data step and proc SQL with insert statement.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I tried increasing the maxTablemem value using proc cas, it works in the stand alone sas program, but the flow is failing.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Is there any way to increase memory size in the flow as well?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 06:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963290#M375303</guid>
      <dc:creator>mohammad_umair</dc:creator>
      <dc:date>2025-04-03T06:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve insufficient memory error in SAS Studio Flow (Viya 4)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963312#M375315</link>
      <description>&lt;P&gt;Is it the Oracle process or SAS compute exuction that fails?&lt;/P&gt;
&lt;P&gt;Please share the log where the error occurs, and the statments used to load Oracle.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:50:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963312#M375315</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-04-03T12:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve insufficient memory error in SAS Studio Flow (Viya 4)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963550#M375365</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Attaching a screenshot of the error for your reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ERROR_SQL.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105962iBEB05C2F6E9C3ECB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ERROR_SQL.jpg" alt="ERROR_SQL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 05:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963550#M375365</guid>
      <dc:creator>mohammad_umair</dc:creator>
      <dc:date>2025-04-07T05:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve insufficient memory error in SAS Studio Flow (Viya 4)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963551#M375366</link>
      <description>I wouldn't expect a memory error for an insert. And it seems to be the SAS session that fails. What is your MEMSIZE setting? &lt;BR /&gt;And BRANCH_MASER is not a view?If that's high enough, perhaps reach out to your system administrator to help trouble shoot the memory problem.&lt;BR /&gt;Maybe not related, consider bulk load for this type of operations, these are typically the fastest option.  You can also explore the INSERTBUFF option (if you not already have done so, your LIBNAME statement could be helpful here).</description>
      <pubDate>Mon, 07 Apr 2025 05:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963551#M375366</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2025-04-07T05:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve insufficient memory error in SAS Studio Flow (Viya 4)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963560#M375368</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Memsize is 2GB.&lt;/P&gt;
&lt;P&gt;Branch_master is not a view.&lt;/P&gt;
&lt;P&gt;Tried bulk loading but it is taking around 20 minutes.&lt;/P&gt;
&lt;P&gt;Also, the error occurs in SAS Studio flow, not when I run the standalone program.&lt;/P&gt;
&lt;P&gt;Will check with administrator regarding the memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 07:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-resolve-insufficient-memory-error-in-SAS-Studio-Flow-Viya/m-p/963560#M375368</guid>
      <dc:creator>mohammad_umair</dc:creator>
      <dc:date>2025-04-07T07:53:45Z</dc:date>
    </item>
  </channel>
</rss>

