Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Combine Two Scripts Into One

by samarzone (Pilgrim)
on Feb 24, 2011 at 10:47 UTC ( #889952=note: print w/ replies, xml ) Need Help??


in reply to Combine Two Scripts Into One

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


Comment on Re: Combine Two Scripts Into One

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-11-26 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (162 votes), past polls