Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was 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

@ferricoxide

Description

@ferricoxide

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:

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions