Learning SAS? Welcome to the exclusive online community for all SAS learners.

ERROR: Insufficient space in file WORK on SAS University Edition

Reply
New User
Posts: 1

ERROR: Insufficient space in file WORK on SAS University Edition

Dear All,

 

I run into a problem when I try to do an analysis on my 667GB dataset from SAS University Edition (latest version):


PROC GLM
DATA = MainLib.graycbs
MULTIPASS;
CLASS Jaar_snapshot Rechtsvorm;
MODEL Dat_Uitspraak_Fin_Kal = Jaar_snapshot Rechtsvorm Eigen_vermogen
/INTERCEPT
SOLUTION;

After a few hours running, it notifies me that I run out of work space:

ERROR: Insufficient space in file WORK.'SASTMP-000000016'n.UTILITY.
ERROR: File WORK.'SASTMP-000000016'n.UTILITY is damaged. I/O processing did not complete.

 

I'm quite confused how everything is working:

  • All my drives have plenty of space left, which doesn't seem to be used, also not for virtual memory (in case WORK is stored in memory).
  • When I try to find where the workspace is located, to move it to another drive with more space, I cannot find it anywhere on my computer.
  • If I try to use a different WORK library, SAS informs me that it is not allowed to change the WORK directory while SAS is running
  • Using the autoexec.bat file doesn't work either
  • If I look into the settings of the Oracle Virtual Box, I do not find any setting that controls this directory.
  • I couldn't find any text files in the install directories which might control this setting.

 

My question boils down to:

  1. Where is the WORK directory located, and how to I change it?
  2. If that is not an option, are there other options to avoid this problem (buy more memory/disk space)?

 

Many thanks in advance for clarification on this issue.

 

Kind regards,

 

Gerard

 

Super User
Posts: 7,866

Re: ERROR: Insufficient space in file WORK on SAS University Edition

University Edition runs in a closed Linux VM that has certain limitations, the size of WORK being one of them.

Keep in mind that UE is a learning tool not intended for real use (your 667 GB are clearly not a simple example dataset)

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 10,046

Re: ERROR: Insufficient space in file WORK on SAS University Edition

Two ways:
1) use options:

options user='/folders/myfolders/';
proc glm;
............

2) use ABSORB statement to reduce computing resource:

proc glm;
CLASS Jaar_snapshot Rechtsvorm;
MODEL Dat_Uitspraak_Fin_Kal = Jaar_snapshot Rechtsvorm Eigen_vermogen 
/INTERCEPT
SOLUTION;

absorb Jaar_snapshot Rechtsvorm;

Ask a Question
Discussion stats
  • 2 replies
  • 859 views
  • 0 likes
  • 3 in conversation