Internal error in Java extension

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 122
Accepted Solution

Internal error in Java extension

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.


Accepted Solutions
Solution
‎06-22-2017 12:19 PM
Super User
Posts: 11,134

Re: Internal error in Java extension

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


All Replies
Solution
‎06-22-2017 12:19 PM
Super User
Posts: 11,134

Re: Internal error in Java extension

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.

Frequent Contributor
Posts: 122

Re: Internal error in Java extension

This link can be useful:
http://support.sas.com/kb/31/184.html
☑ This topic is solved.

Need further help from the community? Please ask a new question.

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