[eclipse/f20] Increase JVM stack size for Maven. Fixes bz 1059816.

swagiaal swagiaal at fedoraproject.org
Fri Jan 31 19:24:20 UTC 2014


commit f8da45cbfcd36cf8cfa62e78b4fa03a6edef6416
Author: Sami Wagiaalla <swagiaal at redhat.com>
Date:   Thu Jan 30 17:09:57 2014 -0500

    Increase JVM stack size for Maven. Fixes bz 1059816.

 eclipse.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/eclipse.spec b/eclipse.spec
index e698e68..9fbe4ac 100644
--- a/eclipse.spec
+++ b/eclipse.spec
@@ -51,7 +51,7 @@ fi;
 Summary:        An open, extensible IDE
 Name:           %{?scl_prefix}eclipse
 Version:        %{eclipse_version}
-Release:        11%{?dist}
+Release:        12%{?dist}
 License:        EPL
 Group:          Development/Tools
 URL:            http://www.eclipse.org/
@@ -488,7 +488,7 @@ sed -i -e 's at Dhelp.lucene.tokenizer=standard at XX:MaxPermSize=384M at g' eclipse.plat
 %build
 %{?scl:%scl_maven_opts}
 #This is the lowest value where the build succeeds. 512m is not enough.
-export MAVEN_OPTS="-Xmx900m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
+export MAVEN_OPTS="-Xmx1000m -XX:MaxPermSize=256m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
 export JAVA_HOME=%{java_home}
 
 pushd eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.%{eclipse_arch}
@@ -1029,6 +1029,9 @@ fi
 %{_libdir}/%{pkg_name}/plugins/org.eclipse.osgi.util_*
 
 %changelog
+* Thu Jan 30 2014 Sami Wagiaalla <swagiaal at redhat.com> - 1:4.3.1-12
+- Increase JVM stack size for Maven. Fixes bz 1059816.
+
 * Mon Nov 4 2013 Krzysztof Daniel <kdaniel at redhat.com> 1:4.3.1-11
 - Fix the app data.
 


More information about the scm-commits mailing list