How to compile when the machine has not enough memory?
2
votes
2
answers
4763
views
I have a low-end VPS that is set up with a ZNC as an IRC bouncer, and it runs just fine, it has around 128 MB of flash memory, which is NOT ENOUGH to compile one of the modules I want to use
znc-push
.
After trying to compile on a virtualbox and sending the file over, I get an error of "invalid ELF header" when I try to load the module up. How can I compile this module remotely and then send it over? It has enough memory to run it, but won't compile it, I've looked in to using distcc, but I can't find any reliable info on how to use it.
Also, I have tried creating a swap file, but that's not allowed/possible with this VPS.
Asked by Kam
(21 rep)
May 3, 2017, 04:01 PM
Last activity: Oct 10, 2018, 12:30 PM
Last activity: Oct 10, 2018, 12:30 PM