Saurabh Singhvi wrote:
hi people

i have a script that executes external binaries using the system command.
now the problem is this:

the external binary is HUGE in terms of ram usage so i need a way to keep it
loaded in the memory
so that i can keep passing the next parameters, instead of loading it each
time.

kindly guide me about this

thanks
Saurabh


If you're running UNIX you can set the binary's sticky bit. See `man chmod` and `man 2 chmod`. The sticky bit tells UNIX to leave the program in RAM for a little while in case it is called again very soon.


--

Just my 0.00000002 million dollars worth,
   --- Shawn

"Probability is now one. Any problems that are left are your own."
   SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is available at http://perldoc.perl.org/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to