[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: limit memory available to octave?
From: |
Michael Creel |
Subject: |
Re: limit memory available to octave? |
Date: |
Fri, 26 Mar 2004 09:53:08 +0100 |
User-agent: |
KMail/1.6.1 |
Yes, that works, thanks. Typing "ulimit -a" reveals the options, and then I
can limit memory using
ulimit -m XXXX (max memory in kb)
ulimit -v XXXX (max virtual memory in kb)
Regards, Michael
On Friday 26 March 2004 03:53, John W. Eaton wrote:
> On 25-Mar-2004, Michael Creel <address@hidden> wrote:
> | I'm trying to test some code that is designed to deal with memory
> | limitations. Is it possible to call octave with a memory limitation below
> | that of available RAM?
>
> What about using resource limits (either ulimit from the shell or
> setrlimit from C) in the parent process that invokes Octave? Would
> that work for you?
>
> jwe
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------