BookmarkSubscribeRSS Feed
wang267
Obsidian | Level 7

Hi everyone, 

 

I am just curious about how large is the Work library. Will it be able to contain a data set with 1 billion observations and 100 variables? 

However, in IML, a 10000 * 10000 matrix cannot be simulated at one time. Log said something like "need more bytes". Is this related to size of work library or computer memory? Or, work library size is related to computer memory ? 

3 REPLIES 3
ChrisNZ
Tourmaline | Level 20

1. The WORK library is typically a folder on your disk.

 

2. Please give the exact log messages. 

 

3. I strongly suspect that your IML message is referring to insufficient virtual memory, i.e. RAM + paging space.

  This space is managed by option MEMSIZE. Look up the documentation regarding this option.

 

4. Be aware that increasing MEMSIZE beyond available RAM might allow your process to complete, but very slowly. Paging (i.e. using disk as if it were RAM) is a trade-off: speed is sacrificed to enable process completion.

 

 

 

 

Patrick
Opal | Level 21

@wang267

SAS Work is disk space and it can become as big as there is space on the disk (or the quota you've got).

Always post the exact log message. The one you reference is likely something similar to below:

https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Unable-to-allocate-sufficient-memory/td-p...

Reeza
Super User

@wang267 wrote:

Hi everyone, 

 

I am just curious about how large is the Work library. Will it be able to contain a data set with 1 billion observations and 100 variables? 

However, in IML, a 10000 * 10000 matrix cannot be simulated at one time. Log said something like "need more bytes". Is this related to size of work library or computer memory? Or, work library size is related to computer memory ? 


It depends. At my old work place we each had a 2GB limit on the work library and had to get it removed if we worked with big data. At other places there were no restrictions beyond my computer size.  You can also redirect work to a network drive which would likely have unlimited space but your read/write time will increase slowing everything down. 

 

 

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!

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
  • 3 replies
  • 460 views
  • 0 likes
  • 4 in conversation