BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
rawagah
Obsidian | Level 7

Dears,

 

I get this error a lot and I have gotten mixed answers, some say it's a RAM issue while others say it's the storage size. 

 

ERROR: Insufficient space in file MYLIBRARY.MYTABLE

ERROR: File MYLIBRARY.MYTABLE is damaged. I/O processing did not complete.

However, I can work around it by just changing the library from my own to WORK library. This is frustrating as I need the output to be saved permanently. What can I do to solve this issue? 

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

@rawagah wrote:

Dears,

 

I get this error a lot and I have gotten mixed answers, some say it's a RAM issue while others say it's the storage size. 

 

ERROR: Insufficient space in file MYLIBRARY.MYTABLE

ERROR: File MYLIBRARY.MYTABLE is damaged. I/O processing did not complete.

However, I can work around it by just changing the library from my own to WORK library. This is frustrating as I need the output to be saved permanently. What can I do to solve this issue? 


This is surely not a RAM issue, it is an overflow in your (allotted) disk storage.

Determine where your permanent and WORK library are located (use the pathname() function), and then get yourself a picture of the free space there.

Note that wise administrators will take care that no single user can exhaust a shared resource by setting quotas there, so what is reported as free may not be what you as an individual can use.

WORK may be overused by remnants of crashed (or non-gracefully terminated) SAS sessions; this can be remedied by using the cleanutil utility provided by SAS.

It is always a good idea to try the compress=yes dataset option when dealing with large datasets; if you have long character variables, the compression factor can exceed 90 percent.

And, as always, Know Your Data (Maxim 3). You may have variables defined with default lengths that waste space unnecessarily, are always missing, contain redundant values, etc etc.

View solution in original post

5 REPLIES 5
Anand_V
Ammonite | Level 13

Hi @rawagah 

 

Looks like the library path you wish to save your data permanently has less space than the file size. you may try to point your library to a different location with more disk space.

 

Thanks!

rawagah
Obsidian | Level 7

Thank Anand_V, 

 

Makes sense. But this also happens the other way around, in some other sessions I get this error on WORK but then it magically works fine when I change the path to permanent library.

andreas_lds
Jade | Level 19

WORK and MYLIBRARY most likely point to different drives, so it is not that strange that you receive the error message sometimes for WORK and sometimes for your library. You should talk to your server-admins, maybe they have defined a quota for WORK.

Kurt_Bremser
Super User

@rawagah wrote:

Dears,

 

I get this error a lot and I have gotten mixed answers, some say it's a RAM issue while others say it's the storage size. 

 

ERROR: Insufficient space in file MYLIBRARY.MYTABLE

ERROR: File MYLIBRARY.MYTABLE is damaged. I/O processing did not complete.

However, I can work around it by just changing the library from my own to WORK library. This is frustrating as I need the output to be saved permanently. What can I do to solve this issue? 


This is surely not a RAM issue, it is an overflow in your (allotted) disk storage.

Determine where your permanent and WORK library are located (use the pathname() function), and then get yourself a picture of the free space there.

Note that wise administrators will take care that no single user can exhaust a shared resource by setting quotas there, so what is reported as free may not be what you as an individual can use.

WORK may be overused by remnants of crashed (or non-gracefully terminated) SAS sessions; this can be remedied by using the cleanutil utility provided by SAS.

It is always a good idea to try the compress=yes dataset option when dealing with large datasets; if you have long character variables, the compression factor can exceed 90 percent.

And, as always, Know Your Data (Maxim 3). You may have variables defined with default lengths that waste space unnecessarily, are always missing, contain redundant values, etc etc.

TomKari
Onyx | Level 15

The advice from @Kurt_Bremser pretty much covers it all. Just one additional comment; sometimes it'll succeed on your MYLIBRARY, and sometimes it'll succeed on WORK, because the balance of free space on both devices will go up and down with the datasets that you and other users are adding and deleting. Completely unpredictable, and exactly what I would expect.

 

Tom

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 5 replies
  • 41913 views
  • 6 likes
  • 5 in conversation