be less intense on memory use and have more available.
diff --git a/org.eclipse.e4.builder/scripts/masterBuild.sh b/org.eclipse.e4.builder/scripts/masterBuild.sh
index afd4159..7d81842 100755
--- a/org.eclipse.e4.builder/scripts/masterBuild.sh
+++ b/org.eclipse.e4.builder/scripts/masterBuild.sh
@@ -171,7 +171,7 @@
cd $buildDir/40builds
- cmd="$javaHome/bin/java -enableassertions \
+ cmd="$javaHome/bin/java -Xmx500m -enableassertions \
-cp $cpAndMain \
-application org.eclipse.ant.core.antRunner \
-buildfile $buildfile \
@@ -365,7 +365,7 @@
mkdir -p $buildDirectory/eclipse; cd $buildDirectory
echo "[start] [`date +%H\:%M\:%S`] Invoking Eclipse build with -enableassertions and -cp $cpAndMain ...";
- cmd="$javaHome/bin/java -enableassertions \
+ cmd="$javaHome/bin/java -Xmx500m -enableassertions \
-cp $cpAndMain \
-application org.eclipse.ant.core.antRunner \
-buildfile $buildfile \
diff --git a/org.eclipse.e4.sdk/builder/customTargets.xml b/org.eclipse.e4.sdk/builder/customTargets.xml
index 0eeb9e3..7e26f7e 100644
--- a/org.eclipse.e4.sdk/builder/customTargets.xml
+++ b/org.eclipse.e4.sdk/builder/customTargets.xml
@@ -311,7 +311,7 @@
<target name="provision.e4">
<property name="p2.sdk.install" value="${buildDirectory}/${buildId}/p2temp/sdk.install" />
- <parallel failonany="true" threadCount='4'>
+ <parallel failonany="true" threadCount='3'>
<sequential> <callDirector os="win32" ws="win32" arch="x86" archiveFormat="zip" archiveSuffix="win32" /> </sequential>
<sequential> <callDirector os="win32" ws="win32" arch="x86_64" archiveFormat="zip" archiveSuffix="win32-x86_64" /> </sequential>
<sequential> <callDirector os="linux" ws="gtk" arch="x86" archiveFormat="tar" archiveSuffix="linux-gtk" /> </sequential>