[97998] trunk/dports/devel/sbt
blair at macports.org
blair at macports.org
Fri Sep 21 09:51:44 PDT 2012
Revision: 97998
http://trac.macports.org//changeset/97998
Author: blair at macports.org
Date: 2012-09-21 09:51:44 -0700 (Fri, 21 Sep 2012)
Log Message:
-----------
sbt: generously increase memory and GC options for Java process.
In testing my Scala Migrations project using the previous $JAVA_OPTS,
java would frequently run out of memory.
Modified Paths:
--------------
trunk/dports/devel/sbt/Portfile
trunk/dports/devel/sbt/files/sbt.sh
Modified: trunk/dports/devel/sbt/Portfile
===================================================================
--- trunk/dports/devel/sbt/Portfile 2012-09-21 16:39:24 UTC (rev 97997)
+++ trunk/dports/devel/sbt/Portfile 2012-09-21 16:51:44 UTC (rev 97998)
@@ -5,6 +5,7 @@
name sbt
version 0.12.0
+revision 1
categories devel java
license BSD
maintainers blair openmaintainer
Modified: trunk/dports/devel/sbt/files/sbt.sh
===================================================================
--- trunk/dports/devel/sbt/files/sbt.sh 2012-09-21 16:39:24 UTC (rev 97997)
+++ trunk/dports/devel/sbt/files/sbt.sh 2012-09-21 16:51:44 UTC (rev 97998)
@@ -17,9 +17,10 @@
# Is the location of the SBT launcher JAR file.
LAUNCHJAR="__SBT_LAUNCHER_PATH__"
-# Ensure enough heap space is created for SBT.
+# Ensure enough heap space is created for sbt. These settings are the
+# default settings from Typesafe's sbt wrapper.
if [ -z "$JAVA_OPTS" ]; then
- JAVA_OPTS="-Xmx512M"
+ JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -Xms1536m -Xmx1536m -XX:MaxPermSize=384m -XX:ReservedCodeCacheSize=192m -Dfile.encoding=UTF8"
fi
# Assume java is already in the shell path.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120921/73266afb/attachment-0001.html>
More information about the macports-changes
mailing list