error handling child process [message #7551] |
Mon, 09 December 1996 00:00 |
george
Messages: 22 Registered: August 1996
|
Junior Member |
|
|
Phil, yes it is unix (SGI IRIX). I am sorry to say, /noshell doesn't
work.
IDL> spawn,["ls"],listing
% SPAWN: Error managing child process.
Resource temporarily unavailable
% Execution halted at: $MAIN$
IDL> spawn,["ls"],listing,/noshell
% SPAWN: Error managing child process.
Resource temporarily unavailable
% Execution halted at: $MAIN$
If I delvar all the variables in $MAIN$, there is still a large amount
of memory being used,
IDL> help,/memory
heap memory in use: 44491251, calls to MALLOC: 110618, FREE:
110249
Am I right to think that allocated memory is in common blocks, and if
so, what is the way to delete common block allocation. My goal is
still to SPAWN a child process, which several of my procedures do. The
only other thing that I can think of is to arrange for enough swap
space to set aside the IDL process in memory (as you described).
Thank you, George McCabe, HSTX @ NASA/GSFC, george.mccabe@gsfc.nasa.gov
---------------------------------
On Mon, 09 Dec 1996 14:00:38 -0500, Phil Williams wrote:
> George,
>
> Are you running under UNIX? If so you might try to use the /noshell
> keyword to the spawn call. When you run w/o IDL needs enough swap space
> to copy the entire contents of the IDL process, which can be HUGE.
>
> Hope this helps,
> pmw
>
> --
> /*********************************************************** ********/
> Phil Williams, Ph.D.
> Research Instructor
> Children's Hospital Medical Center "One man gathers what
> Imaging Research Center another man spills..."
> 3333 Burnet Ave. -The Grateful Dead
> Cincinnati, OH 45229
> email: williams@irc.chmcc.org
> URL: http://scuttle.chmcc.org/~williams/
> /*********************************************************** ********/
>
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||
George McCabe (HSTX) NASA / GSFC
Tel: (301)286-8283, Fax: (301)286-0212 Code 693, B2 R151
E-mail: george.mccabe@gsfc.nasa.gov Greenbelt, MD 20771
|
|
|