Skip to content

Address math rounding issue for dynamic memory detection#2246

Merged
dpaulson45 merged 1 commit into
mainfrom
dpaul-HcMemory
Dec 6, 2024
Merged

Address math rounding issue for dynamic memory detection#2246
dpaulson45 merged 1 commit into
mainfrom
dpaul-HcMemory

Conversation

@dpaulson45
Copy link
Copy Markdown
Member

Issue:
When a guest machine is given an amount of memory that isn't evenly divided by 1GB, we fail to properly detect if dynamic memory is being used because of rounding of the total memory.

Reason:
Rounding of the total memory was being used to make it look more appealing in the display.

Fix:
Compare against the rounded number as well as the unrounded number. If both don't match, then we likely have dynamic memory in place.

Resolved #2203

Validation:
Lab tested

@dpaulson45
Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45 dpaulson45 merged commit 9deeb1e into main Dec 6, 2024
@dpaulson45 dpaulson45 deleted the dpaul-HcMemory branch December 6, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Issue] - Health Checker - Check for dynamic memory has a rounding issue

2 participants