File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,15 @@ import java.nio.channels.FileLock
5
5
6
6
object DottyBuild extends Build {
7
7
8
+ val travisMemLimit = List (" -Xmx1g" , " -Xss2m" )
9
+
8
10
val TRAVIS_BUILD = " dotty.travis.build"
9
11
10
12
val agentOptions = List (
11
13
// "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
12
14
// "-agentpath:/home/dark/opt/yjp-2013-build-13072/bin/linux-x86-64/libyjpagent.so"
15
+ // "-agentpath:/Applications/YourKit_Java_Profiler_2015_build_15052.app/Contents/Resources/bin/mac/libyjpagent.jnilib",
16
+ // "-XX:+HeapDumpOnOutOfMemoryError", "-Xmx1g", "-Xss2m"
13
17
)
14
18
15
19
var partestLock : FileLock = null
@@ -79,7 +83,7 @@ object DottyBuild extends Build {
79
83
80
84
val travis_build = // propagate if this is a travis build
81
85
if (sys.props.isDefinedAt(TRAVIS_BUILD ))
82
- List (s " -D $TRAVIS_BUILD= ${sys.props(TRAVIS_BUILD )}" , " -Xmx1g " , " -Xss2m " )
86
+ List (s " -D $TRAVIS_BUILD= ${sys.props(TRAVIS_BUILD )}" ) :: travisMemLimit
83
87
else
84
88
List ()
85
89
You can’t perform that action at this time.
0 commit comments