[Thread Prev][Thread Next][Index]

Re: does 'set memory' work on Linux?

Hi Lev,

The error message indicates that Ferret thinks it will needing 2.8 gigawords
of memory -- probably a problem regardless of SET MEMORY.

I suspect the problem is due to limits that have not been madeexplicit
somewhere -- particularly if you are using an external function (A number of
improvements in passing region limits to the arguments of external functions
have been made SINCE version 5.00 was released).

If you are using an external function try making the limits of the arguments
explicit -- e.g.

    LET series_fft = FUNCTION(argument[x=lo:hi, y=lo:hi, T=lo:hi])

This is particularly critical on the T limits of an FFT function -- note
that the T=0:0.1 will NOT be passed to "argument" under any circumstances.
Instead they will apply to the *result* of the FFT function, which is on a
frequency axis.

Also, please have a look at the Users Guide sections on memory management --

    - steve

Please follow up offline if you have further discussion.


Lev Tarasoff wrote:

> I'm trying to get my running power spectrum plot going, however I run
> into an 'insufficient memory' error. Even if I increase the memory
> size with set memory/size.. to cover the requested number of words, I
> still get the same error. Does the set memory command work on Linux
> (RH6.0)?
> Set mode desperate doesn't help either. My script has the form:
> -----------------------------
> yes? set memory/size=6.2
> yes? set mode desperate
> ...
> yes? set region /Z=200:1600/T=0:0.1
> yes? shade series_fft
>  **ERROR: insufficient memory: 2802000 words were requested.
> yes? show memory
>  Current size of FERRET memory cache: 6.15 MegaWords  (1 word = 4 bytes)
> I get the same error message '..insufficient memory: 2802000 words..'
> whether memory is set to default (3.2Mw) or 6.2Mw. What gives?
> thanks
> Lev
> Lev Tarasoff -  Dept of Physics, University of Toronto,
>                 60 St. George St., Toronto, Ontario, CANADA, M5S 1A7
>                 Tel (416)-946-3019  Fax (416)-978-8905
>                 email: lev@atmosp.physics.utoronto.ca


                |  NOAA/PMEL               |  ph. (206) 526-6080
Steve Hankin    |  7600 Sand Point Way NE  |  FAX (206) 526-6744
                |  Seattle, WA 98115-0070  |  hankin@pmel.noaa.gov

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement