help-octave
[Top][All Lists]
Advanced

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

Re: Memory control


From: Philip Nienhuis
Subject: Re: Memory control
Date: Sun, 7 Sep 2014 04:54:24 -0700 (PDT)

Joao Rodrigues wrote
> I need to functions which, when applied to large objects, require more 
> memory than that available and the system freezes. (It's the csv2cell 
> function for file input, but I guess this situation is more general.)
> 
> I wonder if there is some function that can get information about the 
> amount of RAM available and that currently used by Octave so that the 
> program aborts if its memory requirements exceed a certain threshold.
> 
> Suggestions are welcome.

Matlab has a call for it, that returns the size of the largest available
contiguous block of RAM (AFAICS that's different than the other suggestions
in this thread).
TTBOMK in Octave you can only infer it indirectly by trying to create (and
destroy) still bigger arrays until you've hit the limit.

philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Memory-control-tp4666391p4666396.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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