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
Failure trying to create a large array
I have a problem creating an array with larger dimensions. I have the following lines in the program and when I set zs to be as large as 1000, the program crashes. I wonder if it is about the GAUSS or the memory in my computer?
Thank you so much for your help!!
1. sa=10, sp=10, z=160, se=100
An array that is 10x10x160x100x1000 is going to take up about 11 GB. That is almost twice as much RAM as your computer has. Under the hood, GAUSS is asking your system to give it a block of memory that is 11 GB and your system says that it does not have that much space to give.
Depending upon how much you ask for you should receive either the error: G0030 Insufficient Memory, or the error: G0037 Result too large.
To deal with the memory constraints on your computer you will need to store some of the data on disk and load it into memory as needed. If you post some information about your program, I would be happy to assist you in implementing a solution.
- Can you tell me what the values of sa, sp, z and ze are when you have this problem?
- Do you know how much memory the computer has?
- Is your GAUSS 32-bit or 64-bit?
- Which GAUSS version of GAUSS are you running (i.e. 10, 11, 12, 13, etc)?