BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
student2
Calcite | Level 5

I'm not sure what this "run time error" means on SAS Enterprise Miner 14.1? On the log it says:  " ERROR: Run time error was encountered. The system error returned was 1016. Please report unresolved problems to Technical Support." 

 

1400 proc freq data=EMWS1.Reg_VariableSet noprint;
21401 table ROLE*LEVEL/out=WORK.RegMETA;
21402 run;

NOTE: There were 6 observations read from the data set EMWS1.REG_VARIABLESET.
NOTE: The data set WORK.REGMETA has 2 observations and 4 variables.
NOTE: PROCEDURE FREQ used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 33848.12k
OS Memory 44936.00k
Timestamp 03/20/2016 07:06:17 PM
Step Count 1 Switch Count 0
Page Faults 0
Page Reclaims 408
Page Swaps 0
Voluntary Context Switches 1
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 1320


21403 proc print data=WORK.RegMETA label noobs;
21404 var ROLE LEVEL COUNT;
21405 label ROLE = "%sysfunc(sasmsg(sashelp.dmine, meta_role_vlabel, NOQUOTE))" LEVEL = "%sysfunc(sasmsg(sashelp.dmine, meta_level_vlabel, NOQUOTE))" COUNT = "%sysfunc(sasmsg(sashelp.dmine, rpt_count_vlabel, NOQUOTE))";
21406 title9 ' ';
21407 title10 "%sysfunc(sasmsg(sashelp.dmine, rpt_varSummary_title , NOQUOTE))";
21408 run;

NOTE: There were 2 observations read from the data set WORK.REGMETA.
NOTE: The PROCEDURE PRINT printed page 1.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 33848.12k
OS Memory 44936.00k
Timestamp 03/20/2016 07:06:17 PM
Step Count 1 Switch Count 6
Page Faults 0
Page Reclaims 563
Page Swaps 0
Voluntary Context Switches 24
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0


21409 title10;
21410 %let EMNORLEN = %DMNORLEN;
EMWS1.Part_TRAIN EMWS1.Part_TRAIN
EMWS1.Part_TRAIN EMWS1.Part_TRAIN EMWS1 Part_TRAIN
EMWS1.Part_TRAIN EMWS1.Part_TRAIN
EMWS1.Part_TRAIN EMWS1.Part_TRAIN EMWS1 Part_TRAIN
21457 data WORK.Reg_EVENT(KEEP=VARIABLE LABEL LEVEL EVENT NUMLEVELS ORDER);
21458 length ORDER $20;
21459 label VARIABLE = "%sysfunc(sasmsg(sashelp.dmine, rpt_target_vlabel, NOQUOTE))" EVENT = "%sysfunc(sasmsg(sashelp.dmine, assmt_event_vlabel, NOQUOTE))" NUMLEVELS = "%sysfunc(sasmsg(sashelp.dmine, rpt_numcat_vlabel, NOQUOTE))" LEVEL =
21460 "%sysfunc(sasmsg(sashelp.dmine, meta_level_vlabel, NOQUOTE))" ORDER = "%sysfunc(sasmsg(sashelp.dmine, meta_order_vlabel, NOQUOTE))" LABEL = "%sysfunc(sasmsg(sashelp.dmine, meta_label_vlabel, NOQUOTE))";
21461 set EMWS1.REG_HEATING_OIL_DM( where=(_TYPE_="TARGET"));
21462 NumLevels=178;
21463 select(upcase(ORDER));
21464 when('DESC') ORDER = 'Descending';
21465 when('ASC') ORDER = 'Ascending';
21466 when('FMTDESC') ORDER = 'Formatted Descending';
21467 when('FMTASC') ORDER = 'Formatted Ascending';
21468 otherwise ORDER = 'Descending';
21469 end;
21470 output;
21471 run;

NOTE: There were 1 observations read from the data set EMWS1.REG_HEATING_OIL_DM.
WHERE _TYPE_='TARGET';
NOTE: The data set WORK.REG_EVENT has 1 observations and 6 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 33848.12k
OS Memory 44936.00k
Timestamp 03/20/2016 07:06:18 PM
Step Count 1 Switch Count 0
Page Faults 0
Page Reclaims 541
Page Swaps 0
Voluntary Context Switches 3
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 264


21472 title9 ' ';
21473 proc print data=WORK.Reg_EVENT noobs label;
21474 var VARIABLE EVENT LEVEL NUMLEVELS ORDER LABEL;
21475 title9 ' ';
21476 title10 "%sysfunc(sasmsg(sashelp.dmine, rpt_modelEvent_title , NOQUOTE))";
21477 run;

NOTE: There were 1 observations read from the data set WORK.REG_EVENT.
NOTE: The PROCEDURE PRINT printed page 2.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
memory 35645.25k
OS Memory 47280.00k
Timestamp 03/20/2016 07:06:18 PM
Step Count 1 Switch Count 6
Page Faults 0
Page Reclaims 607
Page Swaps 0
Voluntary Context Switches 24
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0


21478 title10;
"No decisions defined for target "Heating_Oil"."
21479 proc print data = EMWS1.Reg_Heating_Oil_DM noobs label;
21480 var _type_ variable label;
21481 where _type_ ^in('MATRIX', 'DECISION', 'TRAINPRIOR', 'DATAPRIOR', 'DECPRIOR');
21482 label _TYPE_ = "%sysfunc(sasmsg(sashelp.dmine, rpt_type_vlabel, NOQUOTE))" VARIABLE = "%sysfunc(sasmsg(sashelp.dmine, rpt_variable_vlabel, NOQUOTE))" LABEL = "%sysfunc(sasmsg(sashelp.dmine, meta_label_vlabel, NOQUOTE))";
21483 title9 ' ';
21484 title10 "%sysfunc(sasmsg(sashelp.dmine, rpt_predDecVars_title , NOQUOTE))";
21485 run;

NOTE: There were 359 observations read from the data set EMWS1.REG_HEATING_OIL_DM.
WHERE _type_ not in ('DATAPRIOR', 'DECISION', 'DECPRIOR', 'MATRIX', 'TRAINPRIOR');
NOTE: The PROCEDURE PRINT printed page 3.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.00 seconds
user cpu time 0.01 seconds
system cpu time 0.00 seconds
memory 35645.25k
OS Memory 47280.00k
Timestamp 03/20/2016 07:06:18 PM
Step Count 1 Switch Count 6
Page Faults 0
Page Reclaims 590
Page Swaps 0
Voluntary Context Switches 25
Involuntary Context Switches 0
Block Input Operations 0
Block Output Operations 0


21486 title10;
NOTE: There were 178 observations read from the data set EMWS1.REG_HEATING_OIL_DD.
NOTE: The data set WORK.HEATING_OIL has 178 observations and 5 variables.
NOTE: There were 178 observations read from the data set EMWS1.REG_HEATING_OIL_DD.
NOTE: The data set WORK.HEATING_OIL has 178 observations and 5 variables.
21496 *------------------------------------------------------------*;
21497 * Reg: Create decision matrix;
21498 *------------------------------------------------------------*;
21499 data WORK.Heating_Oil;
21500 length Heating_Oil $ 32
21501 COUNT 8
21502 DATAPRIOR 8
21503 TRAINPRIOR 8
21504 DECPRIOR 8
21505 ;
21506
21507 label COUNT="Level Counts"
21508 DATAPRIOR="Data Proportions"
21509 TRAINPRIOR="Training Proportions"
21510 DECPRIOR="Decision Priors"
21511 ;
21512 format COUNT 10.

1 ACCEPTED SOLUTION

Accepted Solutions
WendyCzika
SAS Employee

I can't see your the PROC DMREG code that is run from what you attached (I assume that is right above the errors you reported), but a likely culprit is that when the procedure tries to build the X'X matrix, there are either too many inputs or some input
variables that contain many levels and thus will make the procedure run
out of memory. Can you see in the variables editor if there are any inputs marked as ordinal or nominal that have a large number of levels?

 

Also are you using a selection method?  Using stepwise or forward selection might help.

View solution in original post

5 REPLIES 5
WendyCzika
SAS Employee

Can you do a Find of "ERROR:" in the the log from the Regression node and paste in that section?

student2
Calcite | Level 5

Hi,

I pasted the error message below:

ERROR: The SAS System stopped processing this step because of insufficient memory.
WARNING: The data set EMWS1.REG_EMESTIMATE may be incomplete. When this step was stopped there were 0 observations and 0 variables.
WARNING: The data set EMWS1.REG_OUTTERMS may be incomplete. When this step was stopped there were 0 observations and 0 variables.
WARNING: The data set EMWS1.REG_MAPDS may be incomplete. When this step was stopped there were 0 observations and 0 variables.

WendyCzika
SAS Employee

I can't see your the PROC DMREG code that is run from what you attached (I assume that is right above the errors you reported), but a likely culprit is that when the procedure tries to build the X'X matrix, there are either too many inputs or some input
variables that contain many levels and thus will make the procedure run
out of memory. Can you see in the variables editor if there are any inputs marked as ordinal or nominal that have a large number of levels?

 

Also are you using a selection method?  Using stepwise or forward selection might help.

student2
Calcite | Level 5

Thank you for your help. I realized that some of my variables had too many levels and it was eating up all the memory. 

RajeshUthirakum
Calcite | Level 5
Error: Run time error was encountered. The system error returned was 1016.

Please provide the solution

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 4519 views
  • 0 likes
  • 3 in conversation