<?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: Memsize in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943071#M369728</link>
    <description>&lt;P&gt;Thank you for your reply! In the past few hours, I searched for information regarding the MEMSIZE option on the web and found a convenient way to change the memory available for a SAS session into 1TB while launching a new SAS session on my computer that is using Windows 10.&lt;/P&gt;
&lt;P&gt;Step 1: open a folder (any folder will do);&lt;/P&gt;
&lt;P&gt;Step 2: Paste the following code in the address bar:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;C:\Program Files\SASHome\SASFoundation\9.4\sas.exe -memsize 1T&lt;/PRE&gt;
&lt;P&gt;For readers not familiar with the meaning of this code, it should be noted that the path is where&amp;nbsp;&lt;STRONG&gt;my&amp;nbsp;&lt;/STRONG&gt;SAS is installed. Readers using my code should change that path to the where SAS is installed in&amp;nbsp;&lt;STRONG&gt;their&amp;nbsp;&lt;/STRONG&gt;computer accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3: Press the "Enter" button on the keyboard.&lt;/P&gt;
&lt;P&gt;And everything is done. A SAS session is launched automatically after you press the "Enter" buttion. But it should be noted that the alteration done in this manner is only valid in this very session. In other words, if you end this session by closing SAS window and launch yet another one with another method (like clicking the SAS shortcut in the Start Menu), then the largest amount of memory SAS can use resumes to the default value, which is usually 2GB.&lt;/P&gt;</description>
    <pubDate>Sun, 08 Sep 2024 16:08:37 GMT</pubDate>
    <dc:creator>Season</dc:creator>
    <dc:date>2024-09-08T16:08:37Z</dc:date>
    <item>
      <title>Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/108782#M258725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running into memory problems. How do I increase the memsize at SAS startup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jbear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 19:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/108782#M258725</guid>
      <dc:creator>jbear</dc:creator>
      <dc:date>2013-08-12T19:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/108783#M258726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the SAS companion for your OS.&amp;nbsp; It is specified there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 20:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/108783#M258726</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-08-12T20:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/108784#M258727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way is on the SAS command: sas -memsize 2G will set the memory size to 2GB, or you could modify your SAS shortcut to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please bear in mind that changing the memsize option is not the only strategy for dealing with memory problems. If you want advice on other options, please provide more information on the cause of your memory problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 20:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/108784#M258727</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-08-12T20:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943063#M369726</link>
      <description>&lt;P&gt;What is the correct code to change the memory then? I tried the following code and the log reported an error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;-memsize 1T;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 08 Sep 2024 12:43:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943063#M369726</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-08T12:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943069#M369727</link>
      <description>You can not change MEMSIZE through code; it has to be done at startup, either in a configuration file or on the commandline.</description>
      <pubDate>Sun, 08 Sep 2024 14:05:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943069#M369727</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-09-08T14:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943071#M369728</link>
      <description>&lt;P&gt;Thank you for your reply! In the past few hours, I searched for information regarding the MEMSIZE option on the web and found a convenient way to change the memory available for a SAS session into 1TB while launching a new SAS session on my computer that is using Windows 10.&lt;/P&gt;
&lt;P&gt;Step 1: open a folder (any folder will do);&lt;/P&gt;
&lt;P&gt;Step 2: Paste the following code in the address bar:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;C:\Program Files\SASHome\SASFoundation\9.4\sas.exe -memsize 1T&lt;/PRE&gt;
&lt;P&gt;For readers not familiar with the meaning of this code, it should be noted that the path is where&amp;nbsp;&lt;STRONG&gt;my&amp;nbsp;&lt;/STRONG&gt;SAS is installed. Readers using my code should change that path to the where SAS is installed in&amp;nbsp;&lt;STRONG&gt;their&amp;nbsp;&lt;/STRONG&gt;computer accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3: Press the "Enter" button on the keyboard.&lt;/P&gt;
&lt;P&gt;And everything is done. A SAS session is launched automatically after you press the "Enter" buttion. But it should be noted that the alteration done in this manner is only valid in this very session. In other words, if you end this session by closing SAS window and launch yet another one with another method (like clicking the SAS shortcut in the Start Menu), then the largest amount of memory SAS can use resumes to the default value, which is usually 2GB.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 16:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943071#M369728</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-08T16:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943075#M369729</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/437457"&gt;@Season&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your reply! In the past few hours, I searched for information regarding the MEMSIZE option on the web and found a convenient way to change the memory available for a SAS session into 1TB while launching a new SAS session on my computer that is using Windows 10.&lt;/P&gt;
&lt;P&gt;Step 1: open a folder (any folder will do);&lt;/P&gt;
&lt;P&gt;Step 2: Paste the following code in the address bar:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;C:\Program Files\SASHome\SASFoundation\9.4\sas.exe -memsize 1T&lt;/PRE&gt;
&lt;P&gt;For readers not familiar with the meaning of this code, it should be noted that the path is where&amp;nbsp;&lt;STRONG&gt;my&amp;nbsp;&lt;/STRONG&gt;SAS is installed. Readers using my code should change that path to the where SAS is installed in&amp;nbsp;&lt;STRONG&gt;their&amp;nbsp;&lt;/STRONG&gt;computer accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3: Press the "Enter" button on the keyboard.&lt;/P&gt;
&lt;P&gt;And everything is done. A SAS session is launched automatically after you press the "Enter" buttion. But it should be noted that the alteration done in this manner is only valid in this very session. In other words, if you end this session by closing SAS window and launch yet another one with another method (like clicking the SAS shortcut in the Start Menu), then the largest amount of memory SAS can use resumes to the default value, which is usually 2GB.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is basically the equivalent of modifying a desktop shortcut icon, just another way to provide start up command.&lt;/P&gt;
&lt;P&gt;If you have a desktop icon then right click on it. In Windows go to the Target line.&lt;/P&gt;
&lt;P&gt;My main short cut looks has a target line like:&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg" -autoexec="d:\Users\Owner\Documents\autoexec.sas"&lt;/PRE&gt;
&lt;P&gt;add a -memsize= option to that target.&lt;/P&gt;
&lt;P&gt;You can have multiple start up short cut icons with different target lines, such as different configuration files (the -Config through sasvg.cfg), different -autoexec files, or anything that sets options.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 18:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943075#M369729</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-09-08T18:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Memsize</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943100#M369737</link>
      <description>Thank you for your reply and explanation!</description>
      <pubDate>Mon, 09 Sep 2024 07:32:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Memsize/m-p/943100#M369737</guid>
      <dc:creator>Season</dc:creator>
      <dc:date>2024-09-09T07:32:03Z</dc:date>
    </item>
  </channel>
</rss>

