Why does my Perl script exit with 137?

前端 未结 4 1359
日久生厌
日久生厌 2020-11-30 05:42

Is there a way to eliminate a warning (exit code 137) in perl? I am running a Perl script on linux within another shell script. This Perl script exits with a warning and exi

4条回答
  •  春和景丽
    2020-11-30 05:53

    I got the same error code 137 from an ANT script. Looking at /var/log/messages, I understand it's out of memory error.

    Jun 21 07:33:30 myhost kernel: Out of memory: Kill process 52959 (java) score 164 or sacrifice child
    Jun 21 07:33:30 myhost kernel: Killed process 52959 (java) total-vm:709496kB, anon-rss:397016kB, file-rss:0kB
    

提交回复
热议问题