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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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