BookmarkSubscribeRSS Feed
Barkamih
Pyrite | Level 9

Hi all 

 

How to solve this issue? 

NOTE: PROCEDURE SGPLOT used (Total process time):
real time 43.44 seconds
cpu time 0.21 seconds

NOTE: Marker and line antialiasing has been disabled for at least one plot because the threshold
has been reached. You can set ANTIALIASMAX=670000 in the ODS GRAPHICS statement to enable
antialiasing for all plots.
ERROR: Java virtual machine exception. java.lang.OutOfMemoryError: GC overhead limit exceeded.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 669956 observations read from the data set WORK.FITMILK.

 

 

regards 

 

1 REPLY 1
ballardw
Super User

Did you try adding:

 

ods graphics / antialiasmax=670000;

or perhaps

ods graphics/ noantialias;

before the proc sgplot?

 

Anti-alias is a "smoothing" technique to make lines and markers appear nicer. As such, it can require more memory to process the image created. Since you are apparently plotting around 670,000 elements that is where the suggestion in the note comes from.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1636 views
  • 0 likes
  • 2 in conversation