BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Christina96
Calcite | Level 5

Hi all, I am new to SAS. Now I am using Windows 10 and SAS 9.4.

I used the the proc univariate procedure and I encoutered a problem.

Here is my code:

proc univariate data=summer plot normal; 
var a; 
freq b; 
run;

The dataset has more than 16000 observations.

A error message popped up:

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.

NOTE: The SAS System stopped processing this step because of errors.

NOTE: PROCEDURE UNIVARIATE used (Total process time):

real time 4:51.49

cpu time 4:31.76

It took near 5 minutes to process this. It's very strange. I checked the forum and tried this https://support.sas.com/kb/31/184.html. But it didn't help. How can I solve this? 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
andreas_lds
Jade | Level 19

This could be caused by using "plot"-option, can you verify that you won't get that error when using proc univariate without "plot"? But contacting tech support seems to be the best/fastest way to get a working solution.

View solution in original post

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

2 solutions: 

- Increase the JRE memory to a high value

- Contact Tech Support

andreas_lds
Jade | Level 19

This could be caused by using "plot"-option, can you verify that you won't get that error when using proc univariate without "plot"? But contacting tech support seems to be the best/fastest way to get a working solution.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 923 views
  • 0 likes
  • 3 in conversation