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

refactor(util): use newer java memory args #34

Merged
merged 3 commits into from
Jul 26, 2023

Conversation

miles-grant-ibigroup
Copy link
Contributor

The old memory arg was clever, but caused some problem on larger-ram instances, were otp would use far too much ram. This new approach uses a consistent 80%. Thoughts on bumping this up to 90?

Copy link

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

I think this does leave too much overhead on big machines. At 32GB we leave 6GB of RAM unused. I don't know what the right number is, but I think 90% might be better? IDK.

@miles-grant-ibigroup
Copy link
Contributor Author

Thoughts @binh-dam-ibigroup?

@binh-dam-ibigroup
Copy link
Contributor

Thoughts @binh-dam-ibigroup?
85%? How much memory does the OS alone use?

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

I'm good with the changes in principle.

@miles-grant-ibigroup miles-grant-ibigroup merged commit e88791f into master Jul 26, 2023
2 checks passed
@miles-grant-ibigroup miles-grant-ibigroup deleted the use-better-java-args branch July 26, 2023 14:55
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