I have a program with an evil memory leak. I think it's got a hash that get's bigger and bigger while it runs. It takes a few days before it get's outta hand.
While I was in the process of trackin' that down, I got to thinkin'. This particular program forks lotsa kids. They all die properly, but because of the stupid memory leak, it's a little like opening netscape recursively.
I don't need all the different parts of the program during the fork though. Is there a way (in perl) to limit the what parts of the program get copied in a fork? I know there's a way to do it in C (vfork/threads), but can ya do that stuff in perl?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |