Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Conversation

@wfleming
Copy link
Contributor

Starting heap 512mb, max heap 1.25GB.

👀 @codeclimate/review

@wfleming
Copy link
Contributor Author

Sigh. JVM behavior can be strange & confusing.

Setting only the initial heap failed tests because it was larger than the default max heap. Which is strange because docs say it's either 64MB (really?) or 1GB, but you can also query for it at runtime, which I did in container and the value was, I think, Java's max int value. So I think we were really getting getting the 64mb max heap, which is too small.

@wfleming wfleming changed the title Set starting Java Heap to 512mb Set Java Heap settings Dec 18, 2015
Dockerfile Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a comment above this of what each of these do?

@gdiggs
Copy link
Contributor

gdiggs commented Dec 18, 2015

One comment but otherwise LGTM

Starting heap 512mb, max heap 1.25GB.
wfleming added a commit that referenced this pull request Dec 18, 2015
@wfleming wfleming merged commit 71a96db into master Dec 18, 2015
@wfleming wfleming deleted the will/starting-heap branch December 18, 2015 16:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants