[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
size too large for range of Octave's index type
From: |
Tim Rueth |
Subject: |
size too large for range of Octave's index type |
Date: |
Wed, 1 Dec 2010 22:44:56 -0800 |
I hit this problem a
while back, and fixed it by changing my double-precision vars to single
precision. But now in my current sim, my ndgrid matrices are
so large, even with single precision, that I'm getting the following error
again:
error: memory
exhausted or requested size too large for range of Octave's index
type
After getting this
error, I did a "whos" and got:
421605065 elements
using 1515209069 bytes
Okay, that's 1.41
GB. What is Octave's limit? In reading previous posts, it looks like
Octave's limit is 2e9 elements or 2GB, but I'm not sure what build this refers
to, in case later builds support more. I'm running version 3.2.3 on
Win7 w/6GB of RAM. I also tried it on 3.2.4 and got the same
error.
Thanks,
--Tim
- size too large for range of Octave's index type,
Tim Rueth <=