Finding a Perl memory leak

前端 未结 3 1016
难免孤独
难免孤独 2020-12-19 07:07

SOLVED see Edit 2

Hello,

I\'ve been writing a Perl program to handle automatic upgrading of local (proprietary) programs (for the company I

3条回答
  •  失恋的感觉
    2020-12-19 07:30

    How do you know that it's a memory leak? I can think of many other reasons why the OS would kill a program.

    The first question I would ask is "Does this program always work correctly from the command line?". If the answer is "No" then I'd fix these issues first.

    On the other hand if the answer is "Yes", I would investigate all the differences between having the program executed under cron and from the command line to find out why it is misbehaving.

提交回复
热议问题