R
Robert Henniger
Hi to all.
Today i compiled an perl-script to an EXE with perl2exe under Windows.
This works fine.
This script is an HTTP:aemon which forks for every request.
This works too.
Now my problem.
With every fork, the ammount of ram increase. With 1000 handled
requests the server needs round about 250MB RAM. The main-process
starts with 45MB.
I think every new process takes 300KB or more RAM. I am reaping my
finished Child-Processes but it doesnt work in perl2exe.
If i run this script with the default perl-interpreter it needs round
about 70MB for 1000 requests.
What can i do to save RAM?
Thanks in advice.
Best regards
Robert
Today i compiled an perl-script to an EXE with perl2exe under Windows.
This works fine.
This script is an HTTP:aemon which forks for every request.
This works too.
Now my problem.
With every fork, the ammount of ram increase. With 1000 handled
requests the server needs round about 250MB RAM. The main-process
starts with 45MB.
I think every new process takes 300KB or more RAM. I am reaping my
finished Child-Processes but it doesnt work in perl2exe.
If i run this script with the default perl-interpreter it needs round
about 70MB for 1000 requests.
What can i do to save RAM?
Thanks in advice.
Best regards
Robert