Skip to content

Conversation

@jroper
Copy link

@jroper jroper commented Jun 6, 2019

By default, Java will use a max heap size of 25% of the available system memory. So, let's say you're using n1-standard-4 compute nodes on GCE, system memory available to a container without setting any resource limets will be 15GB, so it's going to default to almost 4GB heaps, about 32x what this app really needs.

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.

1 participant