Cherry
Cherry

Reputation: 33514

What is the defaul -Xmx value for Junit run configuration in Intellij idea?

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

Answers (2)

user23658858
user23658858

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

Hussain
Hussain

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

Related Questions