title: How can I find the reason that Python script is killed?
body: <p>I have about 1 million files (which are output simulation outputs). I want to store a specific information of them within one file. I have a for loop which goes to 1M. I put a counter to track the state of the for loop. It will be <code>killed</code> some where between 875000 and 900000. I thought that it may be a space problem.
  When I run <code>df -h</code> or <code>df /</code>, I have about 68G available. 
  What are other possible reasons that a Python script may be killed? How can I explore it more?</p>