Hello Sakai Devs,
Is anyone else seeing intermittent java heap space issues when compiling Sakai 23 + Java 11?
I'm using:
Java 11 (Temurin "11.0.12" 2021-07-20)
Maven 3.8.2
[ERROR] Failed to execute goal org.sakaiproject.maven.plugins:sakai:1.4.5:component (default-component) on project sakai-kernel-impl: Error assembling WAR: Problem creating war: Execution exception: Java heap space -> [Help 1]
I don't recall seeing this issue with Sakai 22 + Java 8, but increasing -Xmx to 2048 seems to be helping so far.
export MAVEN_OPTS="-Xms512m -Xmx2048m"
Anyway, if anyone else is seeing this error and increasing xmx helps you too, perhaps this doc should be updated:
and could some Sakai 22 and Sakai 23 docs with that info could be added to install guides under:
Thanks,
Austin