<?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: Clean up memory usage of SAS base in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356081#M274091</link>
    <description>&lt;BR /&gt;The temporary folder not equal to memory. SAS may use much more memory than work folder. other than clean work folder I have to clean something else.&lt;BR /&gt;&lt;BR /&gt;I give you an example how to make it happen:&lt;BR /&gt;&lt;BR /&gt;you double click to open and browsing some very large sas dataset (not only in work folder). repeat this for a while, your will be same as my situation.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
    <pubDate>Thu, 04 May 2017 19:12:44 GMT</pubDate>
    <dc:creator>GeorgeSAS</dc:creator>
    <dc:date>2017-05-04T19:12:44Z</dc:date>
    <item>
      <title>Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356044#M274088</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After I runed too many SAS process and lots of memory was used by SAS, SAS performence will be reduced. May I ask how to manually(or automatically) delete/clean old memory occupied by SAS to increase performence of the rest/current SAS job? &lt;STRONG&gt;(PC SAS)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 16:58:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356044#M274088</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-05-04T16:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356045#M274089</link>
      <description>&lt;P&gt;Are you getting messages from the system about memory? If so share the messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise please describe what you are doing and exactly how "performance will be reduced".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may also have to share some details of your current system options. Can you show the results of this code:&lt;/P&gt;
&lt;PRE&gt;proc options group=memory;
run;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 May 2017 17:01:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356045#M274089</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-04T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356053#M274090</link>
      <description>&lt;P&gt;Sometimes when posters mention memory, they are really running into something else.&amp;nbsp; For example, perhaps many temporary SAS data sets have been filling the WORK area.&amp;nbsp; Additional processing may write to the WORK area, but has to use disk space that is more fragmented, and thus takes longer to utilize.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's actually your situation ... and ... if you can afford to get rid of all the temporary data sets in the WORK area ... here's an easy program to accomplish that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc delete data=work._all_;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 17:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356053#M274090</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-05-04T17:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356081#M274091</link>
      <description>&lt;BR /&gt;The temporary folder not equal to memory. SAS may use much more memory than work folder. other than clean work folder I have to clean something else.&lt;BR /&gt;&lt;BR /&gt;I give you an example how to make it happen:&lt;BR /&gt;&lt;BR /&gt;you double click to open and browsing some very large sas dataset (not only in work folder). repeat this for a while, your will be same as my situation.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 04 May 2017 19:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356081#M274091</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-05-04T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356108#M274092</link>
      <description>&lt;P&gt;If you are opening data sets in viewtable or similar and leaving them open then there will be significang memory use as one of the features of Viewtable is that you can EDIT the contents. Which means things have to be kept in memory until viewtable is closed and the result written to disk.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the question may be 'why' are you opening multiple large data sets?&lt;/P&gt;
&lt;P&gt;Create subsets if you are looking for specific types of records. I don't manually scroll through any dataset with maybe more than 1000 records (and very seldom that many)&amp;nbsp;as it is generally an inefficient process and often means that I don't quite know why I am actually looking for in the raw data.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 20:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356108#M274092</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-04T20:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356134#M274093</link>
      <description>&lt;P&gt;I am often double click table with billions of rows &lt;BR /&gt; and thousand columns and try quick browsing from top to end.this must a bad habit.I will try to change it.but any solution can manually release the &amp;nbsp;memory occupied by my SAS? ---------delete some temporary files??&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 21:12:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356134#M274093</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-05-04T21:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356162#M274094</link>
      <description>&lt;P&gt;Close the view.&lt;/P&gt;
&lt;P&gt;When SAS needs the memory it should release it from the cache.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 22:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356162#M274094</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-04T22:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356201#M274095</link>
      <description>Thank you Ballardw,&lt;BR /&gt;Would you please tell me where I can find the physical location of the SAS cache file?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 05 May 2017 02:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356201#M274095</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-05-05T02:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clean up memory usage of SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356209#M274096</link>
      <description>The cache is handled by SAS. What we are trying to say is that you shouldn't concern yourself on SAS memory management other than setting the  global options  (which will display by the proc options given earlier by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;).</description>
      <pubDate>Fri, 05 May 2017 03:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clean-up-memory-usage-of-SAS-base/m-p/356209#M274096</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-05-05T03:29:13Z</dc:date>
    </item>
  </channel>
</rss>

