[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "bombing" with large files
From: |
Robert A. Macy |
Subject: |
Re: "bombing" with large files |
Date: |
Tue, 26 Oct 2004 20:09:19 -0700 |
Youse guys are making me lean more and more towards Linux!
- Robert -
On Tue, 26 Oct 2004 18:50:17 -0600
"Dmitri A. Sergatskov" <address@hidden> wrote:
> 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
-------------------------------------------------------------