bright-apartment-76721
08/29/2017, 3:13 PM[jvm.run.jvm]
options: ['-Xmx2g']
bright-apartment-76721
08/29/2017, 3:15 PM-Xmx256
across my .pants.d folder, I seem to have lots of java invocations passing that in, but no settings on my side that request itenough-analyst-54434
08/29/2017, 5:06 PM$ ./pants test.junit --help
test.junit options:
...
cache.test.junit options:
...
jvm.test.junit options:
...
--jvm-test-junit-options=<option>... (--jvm-test-junit-options=<option>...) ..., --jvm-test-junit-options="[<option>..., <option>..., ...]", --jvm-test-junit-options="+[<option>..., <option>..., ...]" (default: ['-Djava.awt.headless=true','-Xmx1g','-XX:MaxPermSize=256m'])
Run with these extra JVM options.
...
enough-analyst-54434
08/29/2017, 5:08 PMtest.junit
are direct junit runner options, the second cache.test.junit
are general caching options as applied to test.junit
and the last are general jvm options as applied to test.junit
. Its that last that you want, so:
[jvm.test.junit]
options: [...]
bright-apartment-76721
08/29/2017, 5:09 PMenough-analyst-54434
08/29/2017, 5:09 PM[jvm.run.jvm]
you have is the same, but as applied to ./pants run
bright-apartment-76721
08/29/2017, 5:09 PM-Xmx 256m
?enough-analyst-54434
08/29/2017, 5:09 PMbright-apartment-76721
08/29/2017, 5:09 PMenough-analyst-54434
08/29/2017, 5:09 PM./pants options --scope=... --name=
enough-analyst-54434
08/29/2017, 5:10 PM$ ./pants options --scope=jvm.test.junit --name=options
jvm.test.junit.options = ['-Djava.awt.headless=true', '-Xmx1g', '-XX:MaxPermSize=256m'] (from CONFIG)
enough-analyst-54434
08/29/2017, 5:11 PM$ ./pants options --scope=jvm.test.junit --name=options
jvm.test.junit.options = ['-Djava.awt.headless=true', '-Xmx1g', '-XX:MaxPermSize=256m'] (from CONFIG in pants.ini)
enough-analyst-54434
08/29/2017, 5:12 PMenough-analyst-54434
08/29/2017, 9:05 PMenough-analyst-54434
08/29/2017, 9:05 PMrough-minister-58256
08/29/2017, 9:11 PMrough-minister-58256
08/29/2017, 9:12 PMrough-minister-58256
08/29/2017, 9:12 PMrough-minister-58256
08/29/2017, 9:12 PMrough-minister-58256
08/29/2017, 9:13 PMrough-minister-58256
08/29/2017, 9:13 PMenough-analyst-54434
08/29/2017, 9:26 PMstrong-garage-46607
08/29/2017, 9:46 PMstrong-garage-46607
08/29/2017, 9:48 PMmost-wire-83210
08/30/2017, 12:41 AMbright-apartment-76721
08/30/2017, 3:43 AMbright-apartment-76721
08/30/2017, 3:43 AMbright-apartment-76721
08/30/2017, 3:44 AMbright-apartment-76721
08/30/2017, 3:45 AMbright-apartment-76721
08/30/2017, 1:09 PM