<?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: LASR memory issue not going away in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501916#M14578</link>
    <description>&lt;P&gt;Good, we are getting there.&lt;/P&gt;
&lt;P&gt;And that are the MEMSIZE and SORTSIZE set under your foundation folder?&lt;/P&gt;
&lt;P&gt;Or, much better, could you include the proc options proposed at the begining or end of your&amp;nbsp;&lt;SPAN&gt;start_10121.sas code, then re-run it to get the output, and share with us?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 14:22:02 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2018-10-05T14:22:02Z</dc:date>
    <item>
      <title>LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501289#M14536</link>
      <description>&lt;P&gt;Hello Friends,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have dataload job running (&lt;STRONG&gt;in batch mode&lt;/STRONG&gt;) on linux (physical machine - sas 9.4 m5) which has enough memory (around 80 gb)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we start sas lasr analytics server with command line (&lt;STRONG&gt;script&lt;/STRONG&gt; which bring up port 10121) - server starting fine&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when we run a dataload job, it came up with below error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;data lib1.dataset_def;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;set lib2.dataset_abc;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient resources to perform the operation.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we tried all possible way like below to get rid of this error but it simply not going away&lt;/P&gt;
&lt;P&gt;- cleaned up LASR library (lib1) - everytime running job with no table in it&lt;/P&gt;
&lt;P&gt;- included (-MEMSIZE MAX) for batch server&amp;nbsp;(.../Lev1/SASApp/BatchServer/sasbatch_usermods.sh)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; then when we run test from there, same dir&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;./sasbatch.sh -nodms&lt;/P&gt;
&lt;P&gt;it shows it is running with all physical memory but when i go to home directory and run test batch job (sas test.sas) (proc options group=memory; run;) -&amp;gt; it shows test batch job running with only 2 gb memory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i think this is the causing issue for our dataload job (which is running in batch mode). since my test job is running with only 2gb mem, dataload job (which runs in batch mode as well) also picking up only 2 gb mem and errors out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what way i can use so that when dataload job runs into batch mode, it uses all available memory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please advise...Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 22:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501289#M14536</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-10-03T22:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501299#M14537</link>
      <description>&lt;P&gt;Is this the same problem as your earlier post?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/MRM-dataload-job-memory-issue/m-p/490535#M14095" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/MRM-dataload-job-memory-issue/m-p/490535#M14095&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so you should reference it to avoid starting again from the beginning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm going to assume it is the same problem, and that the evidence pointed to you not having enough available VA LASR memory to load your table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check your usage of LASR memory by going into the Administrator option of SAS VA Hub. Here is a screenshot of what you should see. Please confirm if your total Tables Memory is near the limit of your LASR memory or not.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot26.JPG" style="width: 452px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23757iA6112A3FE2EDBC0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot26.JPG" alt="screenshot26.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it is not lack of LASR memory that is the problem please rerun your batch job with the FULLSTIMER option and post your log.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 22:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501299#M14537</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-10-03T22:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501316#M14538</link>
      <description>&lt;P&gt;Thanks SASKiwi.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;its a same problem but i was running job on linux VM before and now on physical server. Sorry but i didn't want to add/append in old post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;application va lasr has like ~1400 mb + other two ( public lasr and lasr analytic server) have zero memory from lasr admin tool. job just run for few minutes and then run into memory error right after loading 1 or two tables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data lasrlib1.testb;&lt;/P&gt;
&lt;P&gt;set lasrlib2.testa;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; real time&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4.12 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; user cpu time&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.80 seconds&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; system cpu time&amp;nbsp; &amp;nbsp; &amp;nbsp;0.51 seconds&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; memory&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6435.12k&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; OS Memory&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25696.00k&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Step Count&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;530 Switch Count&amp;nbsp; &amp;nbsp; &amp;nbsp;54&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Page Faults&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Page Reclaims&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2875&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Page Swaps&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Voluntay Context Switches&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;625&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Inv&lt;SPAN&gt;oluntay Context Switches&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;54&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Block Input Operations&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Block Output Operations&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 02:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501316#M14538</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-10-04T02:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501322#M14539</link>
      <description>&lt;P&gt;Well, again your DATA step stats confirm that it is not your SAS session that is running out of memory. Which LASR library does&amp;nbsp;&lt;SPAN&gt;lasrlib1 point to? What happens if you try loading to a different LASR library like the PUBLIC one?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 03:48:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501322#M14539</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-10-04T03:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501400#M14542</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regarding LASR, there are 2 main points to consider:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- how is the sas.exe session for LASR started.&lt;/P&gt;
&lt;P&gt;- how is the sas.exe session that runs the code, started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Those 2 are different sas processes, and they probably have different configurations, as the memory settings, and limitations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you identify the process for each, you can check memory settings, with "&lt;STRONG&gt;proc options group=memory;run;&lt;/STRONG&gt;". The FULLSTIMER is a good idea as well, for this test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As said, the first thig to do is to identify how the sas session starts. The one for the user, is kind of clear: start a Workspace server or batchServer session, for interactice and bach processes. Or just batchServer if it is a data query that was scheduled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, the remaining question is how that specific LASR server was started.&lt;/P&gt;
&lt;P&gt;- If it a server started with Autoload, then it would be a basic SAS Foundation process (see comand line below), but the Autoload.cfg and Autoload_usermods.cfg can override the config settings if needed. For adding my proposed code, you can temporary add it to Autoload.sas.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;call "%SAS_COMMAND%" -sysin %FILENAME% -config %CFG_FILE% -log %LOG_FILE% -print %LST_FILE% -batch -noterminal -nologo -logparm "rollover=session"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;- If LASR was started manually, with the SAS VA Administrator GUI, then it would be a Workspace Server session, and you would like to check the settings in the sasv9_usermods.cfg of your Workspace Server assigned to SAS VA. To test, just launch a Workspace Server session (EG, DI or just the WorkspaceServer.sh|bat from your server itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- LASR can also be started with a custom script, please check it how it istarts, from the script itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A last bit: perhaps you would like to consider as well to enable logging for the LASR process itself. Please follow these 2 documents to get more info about your LASR processes.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.wku.edu/instres/documents/vincent_analyzing_lasr_server_logs_sasva.pdf" target="_blank"&gt;https://www.wku.edu/instres/documents/vincent_analyzing_lasr_server_logs_sasva.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/inmsref/67213/HTML/default/viewer.htm#n0ki4nsz4f24ptn1x7kzifyvyf78.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/inmsref/67213/HTML/default/viewer.htm#n0ki4nsz4f24ptn1x7kzifyvyf78.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 13:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501400#M14542</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-10-04T13:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501433#M14552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please could you run the below code just before or after your data step and post the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc options group=memory value;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 11:27:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501433#M14552</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-10-04T11:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501459#M14553</link>
      <description>&lt;P&gt;Thank you so much all for your time&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is some more details.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;lasrlib1 - is a lasr library with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;LIBNAME mylasr SASIOLA TAG=xyz PORT=10121 HOST="servername.com" SIGNER="&lt;A href="http://servername.com:7980/SASLASRAuthorization" target="_blank"&gt;http://servername.com:7980/SASLASRAuthorization&lt;/A&gt;" ;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- how is the sas.exe session for LASR started.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;i am running a custom script to start all lasr servers (script like below)&lt;BR /&gt; &lt;BR /&gt;&lt;FONT color="#0000FF"&gt;libname MYLASR SASIOLA&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; startserver host="servername.com" port=10121&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; signer="&lt;A href="http://servername.com:7980/SASLASRAuthorization" target="_blank"&gt;http://servername.com:7980/SASLASRAuthorization&lt;/A&gt;";&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;proc vasmp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; serverwait port=10121;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- how is the sas.exe session that runs the code, started.&lt;BR /&gt;batch mode &lt;BR /&gt;sas dataloadjon.sas&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- AutoLoad_usermods.cfg and AutoLoad.cfg are not configured with any options in it (like -MEMSIZE or so)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;----&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;before running job i updated sasv9_local from sashome/foundation from compute server and now it is showing session using all physical ram (before it was showing only ~2 gb)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;/*TRACE BEFORE DATA STEP*/&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;proc options group=memory value;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;SAS (r) Proprietary Software Release 9.4 TS1M5&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Group=MEMORY&lt;BR /&gt;Option Value Information For SAS Option SORTSIZE&lt;BR /&gt; Value: 1073741824&lt;BR /&gt; Scope: SAS Session&lt;BR /&gt; How option value set: Config File&lt;BR /&gt; Config file name:&lt;BR /&gt; /path-to/SASFoundation/9.4/sasv9.cfg&lt;/P&gt;
&lt;P&gt;Option Value Information For SAS Option SUMSIZE&lt;BR /&gt; Value: 0&lt;BR /&gt; Scope: Default&lt;BR /&gt; How option value set: Shipped Default&lt;/P&gt;
&lt;P&gt;Option Value Information For SAS Option MAXMEMQUERY&lt;BR /&gt; Value: 268435456&lt;BR /&gt; Scope: SAS Session&lt;BR /&gt; How option value set: Shipped Default&lt;/P&gt;
&lt;P&gt;Option Value Information For SAS Option LOADMEMSIZE&lt;BR /&gt; Value: 0&lt;BR /&gt; Scope: Default&lt;BR /&gt; How option value set: Shipped Default&lt;/P&gt;
&lt;P&gt;Option Value Information For SAS Option MEMSIZE&lt;BR /&gt; Value: 126833859840&lt;BR /&gt; Scope: SAS Session&lt;BR /&gt; How option value set: Config File&lt;BR /&gt; Config file name:&lt;BR /&gt; /path-to/SASFoundation/9.4/sasv9_local.cfg&lt;/P&gt;
&lt;P&gt;Option Value Information For SAS Option REALMEMSIZE&lt;BR /&gt; Value: 0&lt;BR /&gt; Scope: Default&lt;BR /&gt; How option value set: Shipped Default&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;BR /&gt; real time 0.00 seconds&lt;BR /&gt; user cpu time 0.00 seconds&lt;BR /&gt; system cpu time 0.00 seconds&lt;BR /&gt; memory 21.71k&lt;BR /&gt; OS Memory 24232.00k&lt;BR /&gt; Timestamp 10/04/2018 08:59:20 AM&lt;BR /&gt; Step Count 631 Switch Count 0&lt;BR /&gt; Page Faults 0&lt;BR /&gt; Page Reclaims 2&lt;BR /&gt; Page Swaps 0&lt;BR /&gt; Voluntary Context Switches 0&lt;BR /&gt; Involuntary Context Switches 0&lt;BR /&gt; Block Input Operations 0&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;/*JOB CODE*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;data lasrlib1.dataset_abc;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;set baselib1.dataset_xyz;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient resources to perform the operation.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: There were 1585 observations read from the data set xxx.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;WARNING: The data set xxx may be incomplete. When this step was stopped there were 1585 observations and 259&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; variables.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;NOTE: DATA statement used (Total process time):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; real time 3.24 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; user cpu time 0.62 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; system cpu time 0.39 seconds&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; memory 8112.00k&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; OS Memory 31108.00k&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Step Count 632 Switch Count 54&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Page Faults 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Page Reclaims 2674&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Page Swaps 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Voluntary Context Switches 562&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Involuntary Context Switches 5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; Block Input Operations 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;/*TRACE AFTER DATA STEP*/&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;proc options group=memory value;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE OPTIONS used (Total process time):&lt;BR /&gt; real time 0.00 seconds&lt;BR /&gt; user cpu time 0.00 seconds&lt;BR /&gt; system cpu time 0.00 seconds&lt;BR /&gt; memory 22.65k&lt;BR /&gt; OS Memory 24232.00k&lt;BR /&gt; Step Count 633 Switch Count 0&lt;BR /&gt; Page Faults 0&lt;BR /&gt; Page Reclaims 2&lt;BR /&gt; Page Swaps 0&lt;BR /&gt; Voluntary Context Switches 0&lt;BR /&gt; Involuntary Context Switches 0&lt;BR /&gt; Block Input Operations 0&lt;BR /&gt; Block Output Operations 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 13:18:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501459#M14553</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-10-04T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501464#M14554</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could please share the command line that actually calls the .sas file than includes this code?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26689"&gt;@woo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;- how is the sas.exe session for LASR started.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;i am running a custom script to start all lasr servers (script like below)&lt;BR /&gt; &lt;BR /&gt;&lt;FONT color="#0000FF"&gt;libname MYLASR SASIOLA&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; startserver host="servername.com" port=10121&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; signer="&lt;A href="http://servername.com:7980/SASLASRAuthorization" target="_blank"&gt;http://servername.com:7980/SASLASRAuthorization&lt;/A&gt;";&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;proc vasmp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt; serverwait port=10121;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, for the logs that you included: whas it in your code that loads the data, or in the program that starts LASR (port 10121)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you run this, did you monitor your system (top or htop)? You might be filling up your RAM memory, and even the SWAP, then the sas session (that loads your data to LASR, not the one that start LASR) cannot handle more memory.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 13:28:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501464#M14554</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-10-04T13:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501485#M14555</link>
      <description>&lt;P&gt;&lt;STRONG&gt;first,&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;i have a script (./start_10121.sh) that i run which include sas program (libname + proc vasmp) which brings up port 10121 (app lasr analytics server).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;second,&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;execute sas program (dataload job) in batch mode which include load table (where i receive error)&lt;/P&gt;
&lt;P&gt;sas dataloadjob.sas&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;yes, i put live watch (top) when i am testing this job where i don't see job is using even more than 1 gb of ram. Now, i am running out option that i can try except something can be updated from lasr admin tool or test job using EG.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 13:49:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501485#M14555</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-10-04T13:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501515#M14556</link>
      <description>&lt;P&gt;Could you share the contents of the&amp;nbsp;&lt;SPAN&gt;./start_10121.sh script?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 15:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501515#M14556</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-10-04T15:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501562#M14558</link>
      <description>&lt;P&gt;/path-to/SASFoundation/9.4/sas start_10121.sas -log start_10121.log&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 16:11:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501562#M14558</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-10-04T16:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501916#M14578</link>
      <description>&lt;P&gt;Good, we are getting there.&lt;/P&gt;
&lt;P&gt;And that are the MEMSIZE and SORTSIZE set under your foundation folder?&lt;/P&gt;
&lt;P&gt;Or, much better, could you include the proc options proposed at the begining or end of your&amp;nbsp;&lt;SPAN&gt;start_10121.sas code, then re-run it to get the output, and share with us?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 14:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501916#M14578</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-10-05T14:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501921#M14581</link>
      <description>&lt;P&gt;from compute server,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sasv9 has&lt;/P&gt;
&lt;P&gt;-MEMSIZE 2G&lt;/P&gt;
&lt;P&gt;- SORTSIZE 1G&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sasv9_local has&lt;/P&gt;
&lt;P&gt;-MEMSIZE MAX&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 14:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501921#M14581</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-10-05T14:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: LASR memory issue not going away</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501925#M14582</link>
      <description>&lt;P&gt;All right. Here my sugestions:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;SAS foundation sasv9 or sasv9_local should never-ever have memsize 0 or memsize max&lt;/STRONG&gt;. This will anly cause that all your SAS sessions (LASR, EG, STPs, Pooled Workspace, batches ....) in inherit the same configuration unless overwriten. In any case, it is g&lt;U&gt;eneral recommendation by SAS to not overwrite those files&lt;/U&gt;. That is why you have sasv9_usermods files. Reasons, quite important: a) After every maintenance, upgrade, hotfix or migration, the file will be overwriten and customizations would be lost. b) and much-much importantly: memsize max or memsize 0 will ensure that a single sas session will be able to allocate all the memory of your server. Can you imagine what can happen with more than one session taking as much memory? The last session will crash, because it lacks memory .... with the message you get.&lt;/LI&gt;
&lt;LI&gt;If you want to start LASR with SAS foundation, it is fine, but use a &lt;STRONG&gt;config file of your own&lt;/STRONG&gt; (-config parameter)&amp;nbsp; or you could even re-use (carefully!) one of the existing ones in your SASApp... That one can have MEMSIZE 0 ... although I would like to recommend that you allocate the memory you need and a bit more for growing and operations. E.g: if your data in LASR is 20GB large, you could assign MEMSIZE 32GB as long as you have that memory in your host where LASR starts.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 14:42:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/LASR-memory-issue-not-going-away/m-p/501925#M14582</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-10-05T14:42:02Z</dc:date>
    </item>
  </channel>
</rss>

