Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

How to solve memory issue in SAS EM?

Reply
Frequent Contributor
Posts: 111

How to solve memory issue in SAS EM?

 

I work with a model in SAS Enterprise Miner that when I run it I'm getting this message:

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

Physical memory has been added:

 

From MEMSIZE 8G To MEMSIZE 12G

From SORTSIZE 1G To SORTSIZE 4G

 

But it didn't help and I'm still getting the same error message. If increasing the memory is the only way?

Is there any other thing that should be consider about this issue?

Super User
Posts: 5,426

Re: How to solve memory issue in SAS EM?

You say that physical memory have been added. But how much free physical memory do you have prior to your SAS process? Increasing those options can be contra productive if you don't have the resources.

Also, be sure that you have enough space on disk as well.

Would be interesting to see the log when you get the error, preferably using 

options fullstimer;
Data never sleeps
Frequent Contributor
Posts: 111

Re: How to solve memory issue in SAS EM?

Thanks LinusH for your reply. The log file is a long file. Could you tell me which part of it you would like to see? There are many time descriptions(cpu, system,..) for PROCEDURE SORT , PROCEDURE FREQ , PROCEDURE PRINT, PROCEDURE DMDB,PROCEDURE ASSOC,..

Actually I'm getting this error when running Association node.

Super User
Posts: 5,426

Re: How to solve memory issue in SAS EM?

The step that crashes.

Again, monitor the actual system resources outside SAS as well.

Data never sleeps
Frequent Contributor
Posts: 111

Re: How to solve memory issue in SAS EM?

Memory has been increased to 16G. Please see the attached file.

Super User
Posts: 5,426

Re: How to solve memory issue in SAS EM?

Still not seeing the SAS code that generates this error.

Still, can you verify that the actual physical memory is 16GB?

If this is the case, you probably shouldn't set 16GB in SAS, since the OS, other users and applications probably uses some of that memory. Look into your OS monitor to see the memory usage prior to your batch.

 

Also, check how much free space there is where your library ABCD1 resides.

And again, check the amount available space on saswork.

How large is the input table(s) to this step?

 

If you need help, it's better to give a little more, or at least as much information we ask for - not less.

Data never sleeps
Ask a Question
Discussion stats
  • 5 replies
  • 488 views
  • 0 likes
  • 2 in conversation