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

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