Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .sbtopts. #1629

Merged
merged 2 commits into from
Nov 14, 2022
Merged

Add .sbtopts. #1629

merged 2 commits into from
Nov 14, 2022

Conversation

kamilkloch
Copy link
Contributor

Without it, sbt compile occasionally experiences OOM.

@Pask423
Copy link
Contributor

Pask423 commented Nov 14, 2022

Sorry, unfortunately this has to be done on your machine as in this way it will interfere with our CI process - which may result in CI failing with 137 exit code.
image
You can set it via InteliJ setting
image

@kamilkloch
Copy link
Contributor Author

I do have it in IntelliJ, but not in the command-line sbt...
https://github.com/softwaremill/tapir does have .sbtopts ;)

@Pask423
Copy link
Contributor

Pask423 commented Nov 14, 2022

Tapir has somewhat different CI setup then sttp but let's try with options like this and see what how our CI behaves

-J-Xmx3000M
-J-Xss2M
-Dsbt.task.timings=true

BTW I would recommend using sbt shell from InteliJ idea instead of normal command line sbt

@kamilkloch
Copy link
Contributor Author

BTW I would recommend using sbt shell from InteliJ idea instead of normal command line sbt
And what about VSCode users? :)

@Pask423
Copy link
Contributor

Pask423 commented Nov 14, 2022

Hmm I have never used vsc maybe there is something like sbt shell.

@kamilkloch
Copy link
Contributor Author

Sure it is, but there is no setting for Intellij :) That is why a generic .sbtopts is the way to go.

@Pask423 Pask423 merged commit 2e4ab5f into softwaremill:master Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants