Memory traps to watch out for

Top  Previous  Next

There are a set of commands that user have been known to employ without appropriate caution that can use up a lot of memory.  These generally involve variable attributes for scaling or upper/lower bounds.  For example statements like

 

x.scale(i,j,k,l,m)=100;

x.up(i,j,k,l,m)=100;

x.lo(i,j,k,l,m)=100;

 

can use a lot of memory for irrelevant cases and one must again take care to restrict attention to relevant cases.

One can also import data from a database with long set explanatory text and cause problems.