|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Combine Two Scripts Into Oneby samarzone (Pilgrim) |
| on Feb 24, 2011 at 10:47 UTC ( #889952=note: print w/ replies, xml ) | Need Help?? |
|
You are writing a file in first script and reading the same file in second script, so you must not be running these scripts in parallel. Why do you think that merging these two scripts into one, will solve your memory issues? IMHO the max memory taken by any script (or code block) will still be the same. In fact, in a single script, there might be chances that while executing the later half of the code, first half is also eating up some memory. Suggestions are already provided.
-- Regards - Samar
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||