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

I just tried lpsolve in IML on SAS University Edition.  It fails with "ERROR: out of memory", apparently regardless of the number of variables.

I've tried increasing the sizes on IML to no avail.

 

I wonder if changing the memsize option would work. I don't see how to do that under VirtualBox though. In fact, some comments indicate that SAS has actually locked us out 'because UE is only for smallish programs'. It's not clear to me that lpsolve would run on my config regardless of problem size.

Is there a way to change memsize on UE/VirtualBox setup? Is that really what is needed?

 

Thanks,

 

Duane

 

logo
Release: 3.5 (Basic Edition)

Supported browsers:
  • Microsoft Internet Explorer 9, 10, 11
  • Mozilla Firefox 21+
  • Google Chrome 27+
  • Apple Safari 6.0+ (on Apple OS X)

Build date: Feb 3, 2016 10:49:31 PM
SAS Mid-tier release: Jan 13, 2016 7:00:00 PM
Java Version: 1.7.0_76
SAS release: 9.04.01M3P06242015
SAS platform: Linux LIN X64 2.6.32-573.26.1.el6.x86_64
Site name: UNIVERSITY EDITION 2.3 9.4M3
Site number: xxxxxxxx

Copyright © 2012-2016, SAS Institute Inc., Cary, NC, USA.

 

 

 

94 proc iml symspace=256000000 workspace=256000000 worksize=256000000;
 
NOTE: Assuming that the number is given in bytes and not kilobytes.
NOTE: Assuming that the number is given in bytes and not kilobytes.
NOTE: Assuming that the number is given in bytes and not kilobytes.
NOTE: Worksize = 256000000
NOTE: Symbol size = 256000000
NOTE: IML Ready
95 use lib.raw;
96 read all var {U } into u;
97 read all var {Score } into c;
98 read all var {G I GI In Inv M} into a;
99 a = a`;
100 b = {.3, .2, .1, .14, .45, .45};
101 leg={G , G , G , G , G , G };
102 ctrl = {-1,1};
102 ! /* maximize objective, print some details */
103
104 call lpsolve(rc, objVal, result, dual, reducost,
105 c, a, b,
106 ctrl,
107 leg,,,u);
ERROR: Out of memory.
NOTE: Number of iterations = 0.
NOTE: Time used (secs) = 0.00.
108 print rc objVal, result[rowname={x1 x2}];
109
110
111 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 
1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

This problem has nothing to do with the size of the problem. It was a bug in SAS University Edition for SAS  9.4m3. The issue has been fixed in SAS 9.4m4, so the problem will be fixed when you upgrade your copy of SAS UE.

View solution in original post

7 REPLIES 7
Kurt_Bremser
Super User

You can't change any of these settings in SAS UE. As you observed, it is a learning tool. If you want to do heavy load testing of the SAS system, obtain a test installation from your SAS representative.

DuaneTiemann
Fluorite | Level 6

I don't recall seeing the 'learning tool' stance and associated limitations when I was installing it last year. The stress seemed to be on us not using it commercially. Maybe I missed it. I thought it was just missing some features.

 

So is lpsolve completely unavailable on UE due to this error? Or have I made a stupid mistake?

 

I have to say that I'm pretty put off if SAS would purposely hobble UE in this fashion.

 

If I can find it back, I recall finding instructions for loading UE on another virtualization environment and getting around this problem (if this is really my problem).  But if SAS is acting in bad faith, then that sort of thing isn't a good strategy long term. Sounds like R's lp solution is a hassle, but at least they're not putting land mines in it on purpose.

 

 

Kurt_Bremser
Super User

SAS UE is a for-free example installation of a usually very expensive software system. It is not "hobbled", but it is limited capacity-wise.

The intention behind UE is to provide SAS beginners a learning environment that lets them prepare for SAS certifications with data provided for the courses; with those, you'll never run into problems.

 

Your best option is to reduce the scope of your example data so you can get an example solution.

If you want to solve real-world problems, get a true SAS installation that is scaled to your requirements.

 

In the end it's all a matter of TANSTAAFL. And if the "learning stance" is not clear from this: http://www.sas.com/en_us/software/university-edition.html, then how else should SAS convey it?

DuaneTiemann
Fluorite | Level 6

Looks like I'm nowhere near the limit. Still, the page you reference does not mention limiting problem size. Though to be fair, university and learning are mentioned. I was surprised to find out about the memory limit. I expect others will be as well. And it does seem tacky to me.

Non-commercial use seemed to be the target.

Rick_SAS
SAS Super FREQ

This problem has nothing to do with the size of the problem. It was a bug in SAS University Edition for SAS  9.4m3. The issue has been fixed in SAS 9.4m4, so the problem will be fixed when you upgrade your copy of SAS UE.

DuaneTiemann
Fluorite | Level 6

Thanks. That seems credible. I'll try upgrading. I thought I was up to date since UE checks at launch and reports that it is up to date.

DuaneTiemann
Fluorite | Level 6

Upgrading to 9.4M4 worked.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Discussion stats
  • 7 replies
  • 1440 views
  • 6 likes
  • 3 in conversation