help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: memory exhausted or requested size too large for range of Oc


From: Martin Helm
Subject: Re: error: memory exhausted or requested size too large for range of Octave's index type --
Date: Wed, 16 Mar 2011 14:41:47 +0100
User-agent: KMail/1.13.6 (Linux/2.6.34.7-0.7-desktop; KDE/4.6.1; x86_64; ; )

Am Mittwoch, 16. März 2011, 14:33:25 schrieb William Krekeler:
> -----Original Message-----
> I have 12 GB memory in a 64 bit windows 7 OS, Octave binary build 3.2.4. I
> can confirm that you can not build a matrix that large in Windows.
> 
> x = zeros( 25000,25000,'double');
>       error: memory exhausted or requested size too large for range of 
> Octave's
> index type -- trying to return to prompt
> 
> Largest successful array is interestingly only 13000x13000
> 
> Attr Name        Size                     Bytes  Class
>  ==== ====        ====                     =====  =====
>       x       13000x13000             1352000000  double
> 
> This has something to do with how Octave (or programs in general)
> interfaces with Windows memory management. I know that newer versions, I'm
> using win7, pre-allocate memory and 'lock' it out even though it
> technically isn't in use. The 'lock' preloads commonly used programs to
> allow for faster access. The memory is not truly locked because (while
> running similar background programs) I can create at least a 48000x45000
> double variable in that other program (ML) on the same machine.
> 
> Bill Krekeler

Thank you for that information, it is good to know. Is there any chance for 
you to check if octave 3.4 behaves the same on a 64 bit windows as your 3.2.4 
did or if 3.4 is able to handle that large matrices like it does on linux?
(Not sure if 3.4 is available for windows?)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]