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

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top