BookmarkSubscribeRSS Feed
damanaulakh88
Obsidian | Level 7

Hi,

I am executing a job in SAS and it is throwing the below error:-

“ERROR: Hash object added 28311536 items when memory failure occurred.

FATAL: Insufficient memory to execute DATA step program. Aborted during the EXECUTION phase.

ERROR: The SAS System stopped processing this step because of insufficient memory.”



Not able to figure out the correct cause for this issue as i don't think there is memory problem on our server.


What can be the reason for this exit


Thanks in Advance

1 REPLY 1
AhmedAl_Attar
Ammonite | Level 13

The issue is not related to the memory on your server, but rather to the amount of memory allocated for the SAS process!

run the following code, to see how much memory was allocated to your SAS session.

Proc Options group=memory; run;

Look for the memsize option

Ahmed

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2089 views
  • 1 like
  • 2 in conversation