Perl eats alot of memory

M

melco

Hi to all.
I worote a program which uses LWP::Simple and fork to grab links from
site.
For each found link I start fork() and again LWP content.
At some point it uses too much system memory and my Linux box
freezes...
How can i limit maximum amount of RAM which main perl process can use?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,127
Latest member
CyberDefense
Top