Hello everybody.
I want to regress dummy variables on Volume. I use codes which are shown below.
ods graphics on;
proc reg data = Sampledata_02_mer_dumvar plots(maxpoints = none)=(CooksD RStudentByLeverage DFFITS DFBETAS);
model adjusted_volume = TRD_EVENT_ROUNDED_1 TRD_EVENT_ROUNDED_2 TRD_EVENT_ROUNDED_3 TRD_EVENT_ROUNDED_4 TRD_EVENT_ROUNDED_5 TRD_EVENT_ROUNDED_6 TRD_EVENT_ROUNDED_7;
run;
ods graphics off;
The log file is:
NOTE: Multiple concurrent threads will be used to summarize data.
ERROR: Internal error in Java extension NewDoubleArray().
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space.
What exactly is a problem?
How can I fix that?
Thanks in advance.
The out of memory part of the error makes me think the requested plots are too many/complex for the memory available. Try running the code without the plots or reduce to a single plot.
If the single plot works then a work around would be to request only one plot and run the proc multiple times with the PLOTS(only) to suppress the additional model outputs.
The out of memory part of the error makes me think the requested plots are too many/complex for the memory available. Try running the code without the plots or reduce to a single plot.
If the single plot works then a work around would be to request only one plot and run the proc multiple times with the PLOTS(only) to suppress the additional model outputs.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.