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 dates dlibrary dllcall error error handling errors Excel file i/o floating network GAUSS Engine graphics GUI hotkeys installation Java API license licensing linux loading data loops matrices matrix manipulation Maxlik MaxLikMT Memory multidimensional array optimization Optmum output PQG graphics procs RAM random numbers string functions strings structures threading Time Series 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 still been getting the error of insufficient memory, but this time the error emerges after GAUSS completes a number of iterations and I have checked the line of code which produces the error (its line 1019 of the maxlikmtutil.src file) which is actually trying to allocate some memory (hessian = arrayalloc(nobs|k|k,0);).
I was wondering how is it possible that it completes a number of iterations without any problem and then suddenly reports an error which is related to memory, isn't it allocating the same memory in each iteration and dumping it at the end of it? It feels like the memory requirement is ever increasing - which only justifies this error at the completion of a certain number of iterations.
I would appreciate a guidance about handling this error. The complete error log is given below:
C:\gauss11\src\maxlikmtutil.src(1019) : error G0030 : Insufficient memory
Currently active call: maxlikmtHess  C:\gauss11\src\maxlikmtutil.src
maxlikmtHess called from C:\gauss11\src\maxlikmt.src, line 815
maxlikmt called from C:\gauss11\Workingfiles\TestV1, line 1260
Thanks and Regards,
Try having your loglikelihood procedure return a scalar value, i.e., the sumc of the vector. This will change how the derivatives are calculating saving a lot of memory, though there'll be some loss of accuracy.
Depending upon the problem size these internal arrays can become quite large. If the problem size is large and your computer does not have much memory, try: 1) Make sure that you close other memory intensive applications. A few web browser tabs, for example, can take up several hundred megabytes. 2) Running your program in the terminal version of GAUSS (tgauss). The user interface generally does not use much extra memory, but in marginal cases it can be helpful.