-
Hi, I am using vscode+metal and I am trying to migrate a Chisel project from sbt to mill. I got a java stack overflow error during unit test. I have confirmed this is cause by insufficient stack space. The -Xss arg of original sbt project is 32m while the default of bloop is 4m. I have search issues of metal project for how to modify jvm opt. I tried
And I saw -Xss32m really appeared on java args, with -Xss4m. But the stack overflow problem is still. How can I determind whether the -Xss opt really takes effect? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
@hilaolu setting it in |
Beta Was this translation helpful? Give feedback.
-
EDIT: Answer to the question is at the end of this thread. The easiest way to achieve your goal is:
{
"javaOptions": ["-Xss32m"]
} or
Then you can search for Bloop process via |
Beta Was this translation helpful? Give feedback.
-
@hilaolu It should be possible to define java options in mill like it was done in sbt. Could you try |
Beta Was this translation helpful? Give feedback.
EDIT: Answer to the question is at the end of this thread.
The easiest way to achieve your goal is:
~/.bloop/bloop.json
or
~/.bloop/.jvmopts
restart build server
OR command line (if you installed bloop by yourself)bloop ng-stop
and then runconnect to the build server
in metalsThen you can search for Bloop process via
ps
orhtop
and see its arguments.