Page 1 of 1

Matrix Capacity

Posted: Tue Jul 21, 2015 8:00 am
by CharlieEVIEWS
Dear all,

Could somebody possibly provide some details on the maximum permissible number of matrix elements? Cant see any information on http://www.eviews.com/EViews9/ev9capacity.html? It seems a 625m element matrix is too large. I guess I could write a short program to sequentially test the boundary with increasing increments, but might be not be the fastest thing to do :)

Is it a a hard threshold as opposed to one that's curtailed by hardware/subject to system requirements?

Best wishes as always!

Charlie

Re: Matrix Capacity

Posted: Tue Jul 21, 2015 8:13 am
by EViews Gareth
I believe rows*(cols+1)<268,435,424

Re: Matrix Capacity

Posted: Tue Jul 21, 2015 8:41 am
by CharlieEVIEWS
Interesting crash bug: when i just tried to create a second (large) matrix to test near to the limit, i got a 'stopped working' message. Undoubtedly due to the fact I'm on a 4gb laptop only, but a warning message might be cooler than a crash bug :P

As a test, I then ran:

Code: Select all

wfcreate u 1 for !a = 1 to 999999 matrix(10000,10000) matrix_!a next
And I got to 3 :oops:

Re: Matrix Capacity

Posted: Tue Jul 21, 2015 8:51 am
by EViews Gareth
It is very difficult to error politely when you run out of memory :(

Re: Matrix Capacity

Posted: Tue Jul 21, 2015 8:57 am
by startz
Interestingly, I did not get a crash. After 80 matrices things slowed down a lot. That's about right on my 64GB machine. Wonder if the bug has to do with 32-bit versus 64-bit.

Re: Matrix Capacity

Posted: Tue Jul 21, 2015 9:35 am
by CharlieEVIEWS
I'm running 64bit EE on this system, which is just curtailed by RAM size. I bet if you changed 10000 to ~16000 and let it run for a few hours, you'd see the same crash even with 64gb of ram...

Re: Matrix Capacity

Posted: Tue Jul 21, 2015 9:44 am
by startz
So it sounds like a bug from a failed memory allocation. My machine would just take longer to hit.

Perhaps for debugging purposes they should dig out the Apple II that the program ran on originally. I think it had 48k of memory.