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 env variables to improve jvm performance and memory allocation #885

Merged
merged 3 commits into from
Aug 21, 2017

Conversation

bogdanap
Copy link
Contributor

Please make sure you cover the following points:

What is the problem that this PR is trying to fix?

https://github.com/travis-pro/team-blue/issues/728
and more specifically: https://github.com/travis-pro/team-blue/issues/728#issuecomment-322746660

What approach did you choose and why?

Add env variables to optimize jvm's memory usage, as suggested in the comment above.
I thought the travis_java cookbook is a good place for this since it's less generic and it is included in all images we're building (including connie, which was the main one our users were complaining about):

cookbooks/travis_ci_amethyst/recipes/default.rb:include_recipe 'travis_java' cookbooks/travis_ci_connie/recipes/default.rb:include_recipe 'travis_java' cookbooks/travis_ci_cookiecat/recipes/default.rb:include_recipe 'travis_java' cookbooks/travis_ci_garnet/recipes/default.rb:include_recipe 'travis_java' cookbooks/travis_ci_stevonnie/recipes/default.rb:include_recipe 'travis_java' cookbooks/travis_ci_sugilite/recipes/default.rb:include_recipe 'travis_java'

How can you test this?

Build the images and check the presence of the new variables in a debug build.
Run a previously failing build on connie and see that it passes (Example: https://travis-ci.org/comdata/HomeAutomation/builds/255176816)

What feedback would you like?

Is travis_java the best place for these changes?
We also configure this as part of travis_sbt_extras - should this be removed now?

@bogdanap bogdanap changed the title Add envvariables to improve jvm performance and memory allocation Add env variables to improve jvm performance and memory allocation Aug 18, 2017
Copy link
Contributor

@Lyoness Lyoness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants