title: pip install torch killed at 99% -- Excessive memory usage
body: <p>This is while I was installing torch on my laptop. It was getting killed continuously so I thought I will check the memory usage. It hanged my laptop, I had to take a picture with my phone.</p>
  
  <p>If you can't see the image below, it shows pip using 5.8 GiB memory out of 7.8 GiB available. That was a sudden spike at 99%.</p>
  
  <p><a href="https://i.stack.imgur.com/GE7I5.jpg" rel="noreferrer">System Monitor pip memory usage</a></p>