I just ported my app over from python so I'm a bit new to Go. It seems I am having a memory issues. getAudioOnlyInfo: fork/exec /usr/local/bin/youtube-dl: cannot allocate memory.
This is run on a ubuntu machine. Via supervisor.
Edit:
setting the sysctl -w vm.swappiness=1
resolve the issue