Is there a reason you wouldn't use a CI service like GitHub actions or similar and then deploy the Artifact to the VPS? Or are you using the VPS as a build server?
On Fri, Mar 4, 2022 at 10:25 AM John Rinehart <johnrichardrineh...@gmail.com> wrote: > I'm trying to build an application (dbeaver) on a VPS with limited physical > resources (~1GiB of RAM). To compensate I've set up 8GiB of swap space. > Trying to build dbeaver always results in a Java heap space error. None of > my swap is being used, though. I already tried to change the kernel > swappiness values to fix this, but it hasn't. Once the physical memory is > exhausted the build fails. > > How can I ensure that swap space is used for maven builds? > > -- John Rinehart > -- Nathan Fisher Computer Systems Analyst - Infrastructure Engineering Team Instana Inc.