Re: swap space not being used

2022-03-04 Thread Bernd Eckenfels
Unless you use large pages java will automatically use all available virtual memory, maven does not change that. Typically maven will start java launcher with default memory size, so maybe your problem is not related to your limited ram but a general java config? What is the exact memory error

Re: Standarded "meta" commands language

2022-03-04 Thread Mantas Gridinas
I remember solving similar issue by binding build goals into the reactor per profile, as well as changing the scanned modules per profile. ex. -Posgi would build the project for osgi, -Pjavase would build it for regular java. In addition, you can run multiple profiles at the same time. Even right

Standarded "meta" commands language

2022-03-04 Thread Steve Hannah
I've developed a few maven plugins and archetypes and one part that I've always found difficult is providing "run", "debug", and "build" commands for my projects that work well across multiple IDEs and command-line. Each IDE seems to provide its own method for defining its most commonly used

Re: swap space not being used

2022-03-04 Thread Nathan Fisher
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 wrote: > I'm trying to build an application (dbeaver) on a VPS with limited physical

Re: swap space not being used

2022-03-04 Thread Thomas Matthijs
You need to tell java it can use more memory then is available For example for maven itself you can # export MAVEN_OPTS=-Xmx2g You don't really say what part of the build gives the error, could be maven itself, the java compiler, java process running the unit tests, many others, each of these

Remove SNAPSHOT from all sub-modules, but honor version

2022-03-04 Thread Mike Deitrick
Hello, A couple days ago I submitted a question on Stack Overflow about this topic. It can be found here . For the purposes of preserving this conversation, I will also provide my question

swap space not being used

2022-03-04 Thread John Rinehart
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