07-30-2015 07:38 AM
I am using SAS 9.3 in a W7 64bits with 12gb RAM.
I am trying to run a proc surveyreg with cluster and fixed effects by firm. I have 1.229 firms in my dataset. And I get the error:
The SAS System stopped processing this step because of insufficient memory.
My code is:
71 proc surveyreg data=temp.regressiondata;
72 cluster dscode;
73 model VARDEP = VARDINDEPS /covb;
74 ods output datasummary=sum_cluster1;
75 ods output covb=cov_cluster1;
76 ods output FitStatistics=fit_cluster1;
Note that VARDEP and VARINDEPS in the code are replaced by the actual name of the variables. VARINDEPS includes the firm dummies.
I have set MEMSIZE=MAX in the config and when I run the code I have options fullstimer on and I get the following message:
ERROR: The SAS System stopped processing this step because of insufficient memory.
NOTE: PROCEDURE SURVEYREG used (Total process time):
real time 17.54 seconds
user cpu time 17.39 seconds
system cpu time 0.15 seconds
OS Memory 69352.00k
Timestamp 30/07/2015 12:21:05 o'clock
when I run PROC OPTIONS GROUP= MEMORY; run;
Size parameter for sort
SUMSIZE=0 Upper limit for data-dependent memory usage during summarization
MAXMEMQUERY=0 Maximum amount of memory returned when inquiring as to available space
MEMBLKSZ=16777216 Size of memory blocks allocated to support MEMLIB and MEMCACHE options.
Maximum amount of memory allocated to support MEMLIB and MEMCACHE options.
LOADMEMSIZE=0 Suggested memory limit for loaded SAS executables
Specifies the limit on the total amount of memory to be used by the SAS
REALMEMSIZE=0 Limit on the total amount of real memory to be used by the SAS System
NOTE: PROCEDURE OPTIONS used (Total process time):
real time 0.00 seconds
user cpu time 0.00 seconds
system cpu time 0.00 seconds
OS Memory 10684.00k
Timestamp 30/07/2015 12:36:24 o'clock
Any suggestion. thanks in advance!
07-30-2015 11:11 AM
One cluster, as in the code that I have posted.
12 independent variables, plus the dummy structure of Fixed Effects per firm, 1228 dummies.