Re: ncl memory

From: <elodyfluck_at_nyahnyahspammersnyahnyah>
Date: Tue Feb 14 2012 - 03:26:31 MST

Thank you both for your answers.
To delete variables was the good solution. The script runs properly now
Thank you!
Elody

> Message du 13/02/12 16:29
> De : "Mary Haley"
> A : elodyfluck@orange.fr
> Copie à : "ncl-talk [ncl-talk]"
> Objet : Re: [ncl-talk] ncl memory
>
> Elody,
>
> Since this is a long script, it may help if you delete variables that you no longer need as soon as you can. This will free up memory for later variables.
>
> You can use "delete" to accomplish this:
>
> delete(x)
> delete(y)
>
> If you have NCL V6.0.0, then you can delete the variables with one statement:
>
> delete([/x,y/])
>
>
> --Mary
>
> On Feb 13, 2012, at 7:40 AM, Dennis Shea wrote:
>
> > Failed:[errno=12]:Cannot allocate memory
> >
> > Most likely, you do not have enough available physical memory
> > on your computer to store the data you are reading.
> >
> > On 2/13/12 5:07 AM, elodyfluck@orange.fr wrote:
> >> Hello NCL users,
> >>
> >> I wrote a long script with reading in many files. After reading in 9
> >> files, I have a fatal error:
> >>
> >>
> >> fatal:NclMalloc Failed:[errno=12]:Cannot allocate memory
> >> fatal:New: could not create new array:[errno=12]:Cannot allocate memory
> >> fatal:Execute: Error occurred at or near line 1337 in file
> >> $NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
> >>
> >> fatal:Execute: Error occurred at or near line 376 in file diffwindspeed.ncl
> >>
> >> Do you know what's happened here?
> >>
> >> Thanks
> >>
> >> Elody
> >>
> >>
> >> _______________________________________________
> >> ncl-talk mailing list
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> > _______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 14 03:26:43 2012

This archive was generated by hypermail 2.1.8 : Fri Feb 17 2012 - 08:50:10 MST