comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » memory/spawn problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
memory/spawn problems [message #62768] Tue, 30 September 2008 09:42
astroboy2k is currently offline  astroboy2k
Messages: 34
Registered: July 2007
Member
Hello.

I'm running a program which essentially does this:

aa= { big big structure of some sort}
main=replicate(aa, 10,10)
;crunch a few numbers, make a few plots, everything is great, then:

spawn,'date',out

at which point I get the following error:

% SPAWN: Error managing child process.
Resource temporarily unavailable
% Execution halted at: .................




OK, I figured I blew out the memory, so I did this:

aa= { big big structure of some sort}
main=replicate(aa, 10,10)
main=main(2:6,2:6)
;crunch a few numbers, make a few plots, then:

spawn,'date',out


Same error, same place in the code. Since main is now 25% of its
original size I'm starting to doubt this is a problem with memory.

The only thing I can think of is that the code uses alot of spawn
commands for minor things, such as 'date', 'pwd', etc. All one line
things, nothing complicated at all. Even if using spawn without the /
noshell keyword requires more overhead/memory, it seems like the
program would chug on a bit longer with the main array 1/4 its
original size.

If anyone has an idea as to what might be happening I'd appreciate it
alot! I'm afraid I'm clueless at this point.

Thanks,

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: block fill image
Next Topic: Re: memory/spawn problems

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:43:52 PDT 2025

Total time taken to generate the page: 0.00370 seconds