BookmarkSubscribeRSS Feed
PA
Calcite | Level 5 PA
Calcite | Level 5

Hi,

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;

77         run;

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

      memory              62027.31k

      OS Memory           69352.00k

      Timestamp           30/07/2015 12:21:05 o'clock

79       quit;

when I run PROC OPTIONS GROUP= MEMORY; run;

I get:

Group=MEMORY

SORTSIZE=536870912

                   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.

MEMMAXSZ=2147483648

                   Maximum amount of memory allocated to support MEMLIB and MEMCACHE options.

LOADMEMSIZE=0     Suggested memory limit for loaded SAS executables

MEMSIZE=19813981440

                   Specifies the limit on the total amount of memory to be used by the SAS

                   System

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

      memory              20.37k

      OS Memory           10684.00k

      Timestamp           30/07/2015 12:36:24 o'clock

Any suggestion. thanks in advance!

PA

2 REPLIES 2
ballardw
Super User

How many observations? How many independent variables? How many clusters do you have?

PA
Calcite | Level 5 PA
Calcite | Level 5

Hi,

One cluster, as in the code that I have posted.

3896 Observations

12 independent variables, plus the dummy structure of Fixed Effects per firm, 1228 dummies.

Thanks

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2315 views
  • 0 likes
  • 2 in conversation