<?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: Memory issues in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9529#M678</link>
    <description>something about buffers</description>
    <pubDate>Mon, 07 Apr 2008 16:15:34 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-04-07T16:15:34Z</dc:date>
    <item>
      <title>Memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9528#M677</link>
      <description>SAS computer - Win XP Pro, 2GB RAM, 2 Processors.&lt;BR /&gt;
&lt;BR /&gt;
Procedure: Reads 2 1-2GB text data files (fixed record size).  sorts each and then mergest the records.  &lt;BR /&gt;
&lt;BR /&gt;
When trying to reduce the run time of the job I noticed that Free RAM on the system never dropped below 1GB but there was a great deal of paging  going on.  Increasing the RAM  (to 2.8GB) did not seem to increase the amount of RAM in use (just under 1GB) decreasing the RAM also did not seem to affect the amount of RAM in use.  &lt;BR /&gt;
&lt;BR /&gt;
What can I do to have SASS increase the amount of RAM it uses for this job and therefore reduce the paging ops (hopefully reducing the time the job takes to run)?</description>
      <pubDate>Mon, 07 Apr 2008 13:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9528#M677</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-07T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9529#M678</link>
      <description>something about buffers</description>
      <pubDate>Mon, 07 Apr 2008 16:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9529#M678</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-07T16:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9530#M679</link>
      <description>Bill&lt;BR /&gt;
I believe that there is a SORTSIZE option that is used in the config file, that can be used to increase the amount of RAM used for sorting.  I would start there and see if that helps PROC SORT.  &lt;BR /&gt;
&lt;BR /&gt;
-Darryl</description>
      <pubDate>Mon, 07 Apr 2008 16:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9530#M679</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2008-04-07T16:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9531#M680</link>
      <description>In SAS 9.1.3, there are some changes to how SAS does sorts in a multiprocessor environment.  Read the what's new for SAS 9.1.3.&lt;BR /&gt;
&lt;BR /&gt;
SAS uses a good bit of disk space for temporary storage during a SORT.  You may just be observing that disk use, rather than OS paging.&lt;BR /&gt;
&lt;BR /&gt;
You might also try re-coding the sort-merge into a PROC SQL procedure.  SQL uses a totally different algorithm.  I'm not sure that it is faster in your case, but it could be.</description>
      <pubDate>Mon, 07 Apr 2008 23:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9531#M680</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-04-07T23:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Memory issues</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9532#M681</link>
      <description>I am a network/computer guy, not a SAS programmer (I am helping our SAS users out on this issue).   I will forward the comments I get that deal with the coding piece to them.  &lt;BR /&gt;
&lt;BR /&gt;
Someone suggested that I was seeing normal disk io associated with the sort functionality.  Just to be clear, I used windows performance monitor to look at disk IO and Paging.  The pages/sec counter was very high.</description>
      <pubDate>Tue, 08 Apr 2008 16:02:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Memory-issues/m-p/9532#M681</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-08T16:02:13Z</dc:date>
    </item>
  </channel>
</rss>

