Pip install killed - out of memory - how to get around it?
Try adding swap space to your VPS. That will let you use free disk space as memory
This has been reported already on github
https://github.com/explosion/spaCy/issues/3396
Below are some good thread on how to solve the issue
fork() failing with Out of memory error
Memory error while using pip install Matplotlib
out of memory issue in installing packages on Ubuntu server
https://chirale.org/2017/01/15/memory-error-on-pip-install-solved/
In Summary, below are the two options:
Try with
--no-cache-dir
, which unfortunately has not helped youIncrease the swap space
$ create swap file of 512 MB
dd if=/dev/zero of=/swapfile bs=1024 count=524288
$ modify permissions
chown root:root /swapfile
chmod 0600 /swapfile
$ setup swap area
mkswap /swapfile
$ turn swap on
swapon /swapfile