$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:47-06:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_73, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac"
Could not reserve enough space for 1572864KB object heap
.. Can anyone confirm that issue? Also fails for 32-bit ImageJ/Fiji on a 64-bit Windows 10..
2.0b6
is already on Maven Central, and we ship it with ImageJ...
All I ask is that you clone imagej-launcher locally, build locally, and actually test that it fixes your problem when you lower that value.
@ctrueden: I was about to do that and I am struggling with the compilation on Windows. Is there any source of information on the topic?
# build 32-bit
UNAME="$(uname -s)"
case "$UNAME" in
Linux)
(export JAVA_HOME=/home/dscho/fiji/java/linux/jdk1.6.0_24 &&
export PATH=$JAVA_HOME/bin:$PATH &&
mvn -P i386-Linux,copy-launchers -P !amd64-Linux -X install)
;;
MINGW*)
(export JAVA_HOME=$(cd /src/fiji/java/win32/jdk1.6.0_24 && pwd -W) &&
export PATH=/c/msysgit/mingw/bin:/c/msysgit/bin:$JAVA_HOME/bin:$PATH &&
mvn -Pcopy-launchers -U -Dos.arch=x86 -X -e install)
esac