Whenever I try to install extensions with composer, I just get a message saying “Killed” and nothing more. I tried setting the php memory limit to 512MB (half of my total memory), but it didn’t help. I’m using php 7.2 on Apache, Ubuntu server
Here's an image if that helps: https://i.imgur.com/Cqv2amX.png
Update: I found a fix, and if anyone else is having this issue:
I found this GitHub issue addressing the issue, which lead me to "Swap Space" and this DigitalOcean tutorial.
That worked for me, maybe it'll work for you.