mirror of https://github.com/sbt/sbt.git
Merge pull request #2486 from eed3si9n/fport/2355
FPORT: Adds more memory to internal scripted task
This commit is contained in:
commit
f0fa4d329e
|
|
@ -72,7 +72,7 @@ object Scripted {
|
|||
val loader = classpath.ClasspathUtilities.toLoader(scriptedSbtClasspath.files, noJLine)
|
||||
val bridgeClass = Class.forName("sbt.test.ScriptedRunner", true, loader)
|
||||
val bridge = bridgeClass.newInstance.asInstanceOf[SbtScriptedRunner]
|
||||
val launcherVmOptions = Array("-XX:MaxPermSize=256M") // increased after a failure in scripted source-dependencies/macro
|
||||
val launcherVmOptions = Array("-XX:MaxPermSize=256M", "-Xmx1G") // increased after a failure in scripted source-dependencies/macro
|
||||
try {
|
||||
// Using java.util.List to encode File => Unit.
|
||||
val callback = new java.util.AbstractList[File] {
|
||||
|
|
|
|||
Loading…
Reference in New Issue