BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
aminkarimid
Lapis Lazuli | Level 10

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.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

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.

View solution in original post

2 REPLIES 2
ballardw
Super User

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.

aminkarimid
Lapis Lazuli | Level 10
This link can be useful:
http://support.sas.com/kb/31/184.html

AI Navigator GIF.gif


Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.

Check it out on Microsoft Marketplace →

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
  • 5394 views
  • 0 likes
  • 2 in conversation