Reputation: 33514
I have faced with memory problem and read this question which tells to increase -Xmx
parameter. But when I opened JUnit
default Run configuration
I saw no parameter -Xmx
.
So how to determine the default value for -Xmx
in JUnit
in default Run configuration
for Intellij Idea?
Upvotes: 2
Views: 6476
Reputation: 1
search -Didea.test.cyclic.buffer.size=
in Console after running a test. Then you can see. For my MacBook, it is -Didea.test.cyclic.buffer.size=10485760
.
Upvotes: 0
Reputation: 1015
Hope this link will hep you: https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties
Otherwise Go to Run Configuration, There you will see VM Options, Where you can specify the configurations
Upvotes: 0