It is currently 13 Oct 2025, 15:23
   
Text Size

Help with build from source (OutOfMemoryError)

Moderators: BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, North, CCGHQ Admins

Help with build from source (OutOfMemoryError)

Postby Sophisticrat » 11 Oct 2019, 23:08

Hi,
I'm trying to build Xmage from source in Intellij, but I am getting java.lang.OutOfMemoryError: Java heap space. I saw in the documentation to increase build heap size, however this seemed to have no change to my build and I continue to get the error. Any insight would be appreciated (I'm new to using maven). Thanks.
Sophisticrat
 
Posts: 2
Joined: 11 Oct 2019, 22:34
Has thanked: 0 time
Been thanked: 0 time

Re: Help with build from source (OutOfMemoryError)

Postby Sophisticrat » 13 Oct 2019, 00:43

Never mind, it was an issue with the specific JDK I was using. (32-bit 1.8.0_221)
Sophisticrat
 
Posts: 2
Joined: 11 Oct 2019, 22:34
Has thanked: 0 time
Been thanked: 0 time

Re: Help with build from source (OutOfMemoryError)

Postby ryansmith53 » 23 Sep 2025, 09:29

Glad you figured it out! Yeah, the 32-bit JDK often runs into memory issues like that since it can’t allocate more than ~1.5–2 GB of heap space. Switching to a 64-bit JDK is usually the way to go when working with Maven/IntelliJ builds.
ryansmith53
 
Posts: 2
Joined: 13 Sep 2025, 07:38
Has thanked: 0 time
Been thanked: 0 time


Return to Developers Talk

Who is online

Users browsing this forum: No registered users and 5 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 5 guests

Login Form