I am running sas 9.4 on Linux vm.
I am running into below error when I run dataload job for MRM application.
ERROR: Insufficient resources to perform the operation.
ERROR: The SAS System stopped processing this step because of insufficient memory.
this error pop up when code is trying to Loads tables into LASR and applies RLS permissions, simple data step and set statement (below).
data MRMlasr.MODELREVIEW_lasr;
set MRMdata.MODELREVIEW;
run;
I have set up memsize to max (which is like ~30 gb). however, only 2 gb is available all the time on vm (only have ~30 gb total memory) + buffer/cached available is ~26 gb. while running job, I am keeping eye on system resources (with top cmd) but don't see any SAS session in top 3 top usage processes.
any thoughts/ideas what else can be done? Thanks.
Please add the FULLSTIMER SAS option to your SAS code and post the log. This will show actual memory usage.
data MRMlasr.MODELREVIEW_lasr;
set MRMdata.MODELREVIEW;
run;
ERROR: Insufficient resources to perform the operation.
ERROR: The SAS System stopped processing this step because of insufficient memory.
NOTE: There were 1597 observations read from the data set MRMDATA.MODELREVIEW.
WARNING: The data set MRMLASR.MODELREVIEW_LASR may be incomplete. When this step was stopped there were 1597 observations and 376 variables.
NOTE: DATA statement used (Total process time):
real time 4.19 seconds
user cpu time 0.46 seconds
system cpu time 0.27 seconds
memory 16181.96k
OS Memory 39888.00k
Step Count 1746 Switch Count 54
Page Faults 0
Page Reclaims 4150
Page Swaps 0
Voluntary Context Switches 695
Involuntary Context Switches 74
That is strange as your DATA step is only reported using 16 MB of memory. It looks like you are loading a table into LASR memory.
Please check how much free space you have in your LASR library MRMlasr - maybe you have run out of space there.
thanks SASKivi, Simon.
mrmlasr is point to where we load lasr tables and we have enough space down there, 100+ gb.
I have memsize setup at max.
@Simon -> I don't find "resource.setting", I can't be root to find that file,
I am also removing older sas datasets from different libraries before running new job making sure no older datasets sitting out there.
also, mrmlasr is a SASIOLA library. so if I highlight mrmlasr library from sas mc from "library manager" it shows lot of tables. do I need to remove/delete those tables as well? Thanks...
Your MRMLASR library is limited to the amount of memory allocated to it. You need to delete tables no longer required in this library to free up memory. I never used MRM, but I would hope it has something like the SAS VA Administrator web page. This is a good place to check your MRMLASR tables as it tells you how much space they take up and you can also unload tables there.
Thank you SASKIWI.
So mrmlasr is lasr library and data provider library (base library) is different for that "mrmlasr" lasr library.
I cleaned up data provider library (base library) at os level by removing physical data created from dataload job. trying to figure if any metadata table definition tied up with "mrmlasr" lasr library needed for dataload job and if I can remove other metadata table definition as well.
also, from "sas visual analytics server admin" tool I can see most of tables (for "mrmlasr" lasr library) are in "unloaded" status so I believe there is not much to delete there. however, there are 100 + tables (metadata definition) for mrmlasr library are out there.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.