gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use English; use Tk; use ... # lots more modules if (fork()) { sleep(5); } my @out = `myprog`; # produces some output print @out;
The problem is that this script does not actually execute myprog. If, however, I get rid of many of the modules (basically use less memory), then everything is fine and dandy. So, in other words, this seems to be a memory issue - perl is trying to execute another program, but there is not enought memory to run it. How can I validate that this is the case?
Also, I'm seing this on an Spark Ultra 1. The same program works fine on a Sun Blade 150. However, since myprog is still under development and growing, how can I see how much extra memory I have under that hardware when everything is working?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: quoted execution not working
by Joost (Canon) on Jul 27, 2004 at 18:39 UTC | |
|
Re: quoted execution not working
by blue_cowdawg (Monsignor) on Jul 27, 2004 at 18:28 UTC | |
by dave_the_m (Monsignor) on Jul 27, 2004 at 23:44 UTC | |
by blue_cowdawg (Monsignor) on Jul 28, 2004 at 00:10 UTC | |
|
Re: quoted execution not working
by Eimi Metamorphoumai (Deacon) on Jul 27, 2004 at 18:15 UTC | |
|
Re: quoted execution not working
by derby (Abbot) on Jul 27, 2004 at 18:11 UTC |