Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How much RAM/Memory needs Jenkins to build a Minecraftmod?


Recommended Posts

I'm trying to setup a Jenkins server to build mods.


But builds fails with:

10:11:14 :decompileMcJava HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000770fa3000, 547803136, 0) failed; error='Nicht genügend Hauptspeicher verfügbar' (errno=12)
10:11:22 #
10:11:22 # There is insufficient memory for the Java Runtime Environment to continue.
10:11:22 # Native memory allocation (mmap) failed to map 547803136 bytes for committing reserved memory.

I assume that i should set some Java Memory limits but which and where (for Jenkins or Gradle via GRADLE_OPTS)?

My Server has only 2 GiB of RAM, is this even enough to run this?


Link to comment
Share on other sites

Don't run setupDecompWorkspace on a build server, if you simply want to build your mod, the build task is enough. Decompiling Minecraft (what setupDecompWorkspace does) is only needed if you want to see the sources for vanilla class files, this is certainly not the case if you just want your mod to be compiled.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.