https://bugzilla.redhat.com/show_bug.cgi?id=1083130
Bug ID: 1083130
Summary: Memory options should not be set in /usr/bin/sbt
Product: Fedora
Version: 20
Component: sbt
Assignee: willb(a)redhat.com
Reporter: rocketraman(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org,
skottler(a)redhat.com, willb(a)redhat.com
Description of problem:
/usr/bin/sbt sets the JVM memory options for sbt. Also, the values are not sane
-- the max perm gen size is left at the default of 64 MB which is too small.
When running the upstream version of sbt, the memory and GC options by default
are:
-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=128m
When running the Fedora version of sbt, the options are:
-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled
This is surprising behavior to say the least. In addition, the Fedora options
cannot be overwridden because /usr/bin/sbt does not check if JAVA_OPTS is
already defined before clobbering it.
Version-Release number of selected component (if applicable):
sbt-0.13.1-5.fc20.noarch
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=lrpKiQOfRe&a=cc_unsubscribe