https://pantsbuild.org/ logo
#general
Title
# general
m

melodic-optician-41260

08/14/2020, 11:05 AM
Hi guys I´m trying to debug OOM issues when running my unit tests. I’ve configured
pants.ini
to increase heap size as such:
Copy code
[DEFAULT]
pants_version: 1.17.0
jvm_options: ["-Xmx4g"]

[test.junit]
jvm_options: ["-Xmx4g"]
but whenever I profile the testRunner using VisualVM it tells me that the max heap size is
-Xmx256m
, how can I increase the heap size for the testRunner?
2 Views