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

950712: MSDOS and ncgen



>From: address@hidden
>Organization: Sandia National Labs
>Keywords: 199507122031.AA19612 netCDF ncgen MSDOS

Emily,

>     I am a novice netCDF user.
>     
>     I am getting the error "line XXX:  out of memory" when trying to 
>     process some CDL files through ncgen under the MSDOS operating system.
>     
>     There is no obvious error at the line number mentioned.  When I delete 
>     variables prior to this line, the error moves (ie, it is not always at 
>     the same code statement).
>     
>     Any clues as to what might be going on here?  I have searched through 
>     the netCDF user's guide, but have not found an answer.  I am using a 
>     lot of variable attributes, and many of them are strings.  Is there a 
>     limit to the number of attributes that a variable can have?  

The limitation is probably one of memory needed to run ncgen.  We have found
that in order to build the netCDF package on MSDOS one has to boot the
machine with a very "bland" environment.  What I mean by this is that
you should try to maximize the amount of program space available by 
not running any TSR (Terminate and Stay Resident) routines.

>     In an unrelated incident on another file, I got this "out of memory" 
>     error when I tried to use "" for the value of an attribute.  The error 
>     went away when I changed the value to "\0".  However, I do not use "" 
>     in any of my current files.

I will pass this along to the developers.

>     Thanks,
>     Emily Glass
>     address@hidden

Tom Yoksas