Re: Code area full? [message #59] |
Thu, 08 August 1991 20:19 |
rfinch
Messages: 51 Registered: March 1991
|
Member |
|
|
In article <6083@dftsrv.gsfc.nasa.gov> thompson@stars.gsfc.nasa.gov writes:
>
> I seem to recall that there was some new way to dynamically adjust the size of
> the program area, but I can't find any documentation on it. Does anyone know
> how to do this?
You want the .size command (PV-Wave 3.02, I assume that IDL has it
also). I don't have the manual in front of me but .size takes 2
arguments, program and data space, or vice-versa.
--
Ralph Finch 916-445-0088
rfinch@water.ca.gov ...ucbvax!ucdavis!caldwr!rfinch
Any opinions expressed are my own; they do not represent the DWR
|
|
|
Re: Code area full? [message #60 is a reply to message #59] |
Thu, 08 August 1991 13:59  |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
In article <4310@nosc.NOSC.MIL>, martino@sunspot.nosc.mil (Martin Olivera)
writes...
> I keep getting the following message:
>
> % Program code area full.
My understanding is that the program code area contains all the functions and
subroutines that have been defined so far, as well as space allocated for each
variable that has been created so far.
I've been warned that the DELVAR function does remove the variable from dynamic
memory, but does not deallocate the space reserved in the program area for the
header. If one uses DELVAR a lot, for instance inside the loop of a program,
one could eat up all the program area that way.
I seem to recall that there was some new way to dynamically adjust the size of
the program area, but I can't find any documentation on it. Does anyone know
how to do this?
Bill Thompson
|
|
|
Re: Code area full? [message #68 is a reply to message #60] |
Fri, 02 August 1991 17:29  |
sterner
Messages: 106 Registered: February 1991
|
Senior Member |
|
|
martino@sunspot.nosc.mil (Martin Olivera) writes:
> I keep getting the following message:
> % Program code area full.
> I couldn't find anywhere in the manual an explanation for this
> message. My "program" is only a few lines long, so it's hard to
> believe that the area is actually full. Any explanation? Any way
> to fix this?
Try the retall command, that usually works for me.
Ray Sterner sterner%str.decnet@warper.jhuapl.edu
Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
|
|
|