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 19:09:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

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

Let's use "rand" to ensure memory is actually used, and put a pause in there
so the effect on memory might be monitored externally.


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


The pause will stop the program at a point where the variable x is still
resident in memory.  On my system, I pause and then sit and wait for the
system disk usage monitor to update (every five seconds or so).  I'm able to
watch the memory usage slowly grow to 87.5%.  I then stop there to avoid going
into swap land.


    _______________________________________________________

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]