octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40357] OOM when converting from sparse double


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #40357] OOM when converting from sparse double to sparse logical
Date: Fri, 12 Jan 2024 19:33:36 -0500 (EST)

Follow-up Comment #6, bug#40357 (group octave):

On 8 GB machine

octave:1> __octave_config_info__.ENABLE_64
ans = 1
octave:2> x = logical(sparse(100000,100000));
octave:3> y = sparse(100000,100000);
octave:4> ii = full(logical(sprand(100000,1,0.3)));
octave:5> x(ii,:) = y(ii,:);
error: out of memory or dimension too large for Octave's index type
octave:6> memory 
Octave is running on x86_64-pc-linux-gnu
System    RAM:   8089480 kiB,  swap:   4194300 kiB
Octave    RAM:     80536 kiB,  virt:    597508 kiB
Free      RAM:   1426300 kiB,  swap:   4194044 kiB
Available RAM:   7254052 kiB, total:  11448096 kiB
octave:7> version -hgid
ans = 1c40194c7b1f


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?40357>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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