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.76It 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!
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.
2 solutions:
- Increase the JRE memory to a high value
- Contact Tech Support
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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.