BookmarkSubscribeRSS Feed
LineMoon
Lapis Lazuli | Level 10

Hello,

Using the code below under sas 9.4 sends this message "

ERROR: Not enough memory to store all matrices."

Please, could advise a solution

 

data test;

set sashelp.cars;

do i= 1 to 10000;

output;

end;

run;

proc iml;

use test;

read all var _ALL_ into A[colname=varNames];

close test;

quit;

 

ERROR: Not enough memory to store all matrices.

statement : READ at line 36 column 2

 

2 REPLIES 2
Reeza
Super User

What's MEMSIZE set to in your config file? 

Rick_SAS
SAS Super FREQ

The system option that Reeza mentions is discussed in this article: "Large matrices in SAS/IML 14.1"

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 2 replies
  • 1496 views
  • 2 likes
  • 3 in conversation