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

Compute JVM Memory-Configuration Based on Hosting-Instance's Available RAM #30

Open
ferricoxide opened this issue Nov 5, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ferricoxide
Copy link
Member

Problem Description:

Currently, the SupportFiles/agent-userscript.ps1 file statically sets -Xmx to 256MiB. It may make more sense to derive a value based on the agent-host's available memory configuration (or leave wholly unset to accept the agent-defaults).

Similarly, vendor recommendations for heap-size are to set -Xms to half -Xmx. In current script, -Xms does not appear to be set at all.

Expected Behavior:

JVM will be tuned to align well with hosting-instance's available memory

Actual Behavior:

JVM is statically-set

Reference/Related Links:

Review:

@ferricoxide ferricoxide added the enhancement New feature or request label Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants