help-octave
[Top][All Lists]
Advanced

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

Re: "bombing" with large files


From: Dmitri A. Sergatskov
Subject: Re: "bombing" with large files
Date: Tue, 26 Oct 2004 18:50:17 -0600
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

Robert A. Macy wrote:
Actually, as a test I tried the following code, which
produces a variable that is similar in size and causes the
system to bomb.

sig=randn(1,2e6);
sig=[sig,sig,sig];
%  this is where it spits up....
sig=[sig,sig];

octave panics trying to do that last step.
                  - Robert -


This definitely works for me just fine (octave 2.1.60/Linux):

octave:1> sig=randn(1,2e6);
octave:2> sig=[sig,sig,sig];
octave:3> %  this is where it spits up....
octave:3> sig=[sig,sig];
octave:4> whos

*** dynamically linked functions:

  Prot Name     Size  Bytes  Class
  ==== ====     ====  =====  =====
   r-- dispatch 1x1       0  dynamically-linked function
   r-- randn    1x1       0  dynamically-linked function

Total is 2 elements using 0 bytes

*** local user variables:

  Prot Name       Size           Bytes  Class
  ==== ====       ====           =====  =====
   rw- __nargin__ 1x1                8  scalar
   rwd sig        1x12000000  96000000  matrix


--
Regards,

Dmitri.



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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