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

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

[Octave-bug-tracker] [bug #44380] Facing memory limit of less than 1 GB


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44380] Facing memory limit of less than 1 GB
Date: Sat, 28 Feb 2015 18:33:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #3, bug #44380 (project octave):

OK, 64 bit then...  Could you write some test script that illustrates what the
problem is?  I'm running on linux, but if there were a text script that failed
when memory was consumed, it could point to something.

For example, on my machine, the following


vecsize = 1;
while (1)
  vecsize = 2 * vecsize
  x = ones(vecsize, 1);
  clear x;
end


produces


vecsize =  2
vecsize =  4
vecsize =  8
[snip]
vecsize =  268435456
vecsize =  536870912
vecsize =    1.0737e+09


at which point all my RAM is consumed and swap space looked like it was on the
path of reaching the max before the OS slowed to halt because of all the
swapping.

If I'm understanding the problem, on Windows your finding that vector size to
be quite small, or the memory never gets totally consumed?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44380>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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