Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
Request Quote & Product Information
Training & Events
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Q&A: Register and Login
Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Recent Tagsapplications character vectors CML CMLMT Constrained Optimization datasets dlibrary dllcall econometrics error error codes error handling errors Excel file i/o floating network GAUSS Engine GAUSS Light graphics GUI hotkeys installation Java API license licensing linux loading data loops matrices matrix manipulation Maxlik MaxLikMT Memory multidimensional array optimization Optmum output panel data PQG graphics procs random numbers strings structures threading writing data
Time Series 2.0 MT
Find out more now
Time Series MT 2.1
Find out more now
error G0030: Insufficient Memory : MaxLikMT
I have been estimating a discrete choice model using the application MaxLikMT, but have been getting an insufficient memory error, either while calculating the gradient or hessian. Here is the full error:
C:\gauss11\Workingfiles\TestV1(1198) : error G0030 : Insufficient memory Currently active call: lpr  C:\gauss11\Workingfiles\TestV1 Stack trace: lpr called from C:\gauss11\src\maxlikmtutil.src, line 521 maxlikmtgrad called from C:\gauss11\src\maxlikmt.src, line 653 maxlikmt called from C:\gauss11\Workingfiles\TestV1, line 1260
I would appreciate if anyone could suggest on dealing with this memory issue.
Thanks and Regards,
It looks like that line of code is using the threaded version of the gradient calculation which uses more memory. Try turning off the high-level GAUSS threads by setting the maxlikmtcontrol structure member useThreads equal to zero before your call to maxlikmt.
//declare structure struct maxlikmtcontrol c0; //fill in structure with default values c0 = maxlikmtcontrolcreate(); //Add this line to your structure set-up //to turn off threads c0.useThreads = 0;
This should allow your program to run successfully.