I submitted the following code to calculate risk ratios using Poisson regression (my binomial models did not converge). My data set has ~3million observations so I received the following: "ERROR: The SAS System stopped processing this step because of insufficient memory." proc genmod data=library; class inf (ref = "0") id /param=ref; model GA = inf /dist=poisson link=log; repeated subject=id/type=ind; estimate 'RR GA 1 vs. 0' inf 1 0 0 0 0/exp; estimate 'RR GA 2 vs. 0' inf 0 1 0 0 0/exp; estimate 'RR GA 3 vs. 0' inf 0 0 1 0 0/exp; estimate 'RR GA 4 vs. 0' inf 0 0 0 1 0/exp; estimate 'RR GA 5 vs. 0' inf 0 0 0 0 1/exp; run; Additionally, I will be running an adjusted model with 9 covariates. All variables are dichotomous. So far, I have tried setting MEMSIZE = 8GB and then to 0 and still get the insufficient memory error. My current memory is the following (however, since setting to 0, I get an ERROR: INVALID OPTION VALUE when trying to change again): Group=MEMORY SORTSIZE=1073741824 Specifies the amount of memory that is available to the SORT procedure. SUMSIZE=0 Specifies a limit on the amount of memory that is available for data summarization procedures when class variables are active. MAXMEMQUERY=0 Specifies the maximum amount of memory that is allocated for procedures. MEMBLKSZ=16777216 Specifies the memory block size for Windows memory-based libraries. MEMMAXSZ=2147483648 Specifies the maximum amount of memory to allocate for using memory-based libraries. LOADMEMSIZE=0 Specifies a suggested amount of memory that is needed for executable programs loaded by SAS. MEMSIZE=2147483648 Specifies the limit on the amount of virtual memory that can be used during a SAS session. REALMEMSIZE=0 Specifies the amount of real memory SAS can expect to allocate. I'm using SAS 9.4 on a laptop with 8.00 GB RAM (7.88 GB usable). Does anyone know how to overcome this memory issue? Thank you!
... View more