in reply to Re^2: Memory has been increasing, unable to release memory.
in thread Memory has been increasing, unable to release memory.

You suggest to changed script to modules, whether should also solved memory surge problem ,so that it will have effect ?
It might help with some problems, and it might make other problems worse. Unfortunately, leaking memory is one of the problems that might be made worse. In most cases, I would tend to agree with Eily's advice, but it's probably not a high priority for you.
  • Comment on Re^3: Memory has been increasing, unable to release memory.

Replies are listed 'Best First'.
Re^4: Memory has been increasing, unable to release memory.
by Perl_Love (Acolyte) on Mar 28, 2017 at 01:30 UTC

    delete system("/home/root/Perl/zhubo/crawler.pl $_");

    add sleep 11111;

    Problems exist

      11111 seconds is just over 3 hours. I'm not sure why you want to sleep that long.
        Test whether the problem caused by calling the system command