Skip to content

[Issue] - Health Checker - Memory Size / Capacity #2531

@katamadone

Description

@katamadone

Provide Version Number
26.03.12.1424

Describe the issue
Health Checker is telling me I'm using 1GB but its ~ 26GB

Expected behavior
Should detect 26GB

Script Output
Physical Memory: 1 GB
Warning: We recommend for the best performance to have a minimum of 128GB of RAM installed on the machine.

Additional context
Seems to be related to QEMU / Virtualization. Looks like the Capacity

Health Checker is telling me I'm using 1GB, but in the XML its:
27911188480
Helpful outputs?

PS C:\Admin\scripts\Health-Checker> Get-CimInstance Win32_ComputerSystem | Select-Object TotalPhysicalMemory
TotalPhysicalMemory
-------------------
        27911188480
$cs = Get-CimInstance Win32_ComputerSystem
[math]::Round($cs.TotalPhysicalMemory / 1GB, 2)
25.99
 Get-CimInstance Win32_PhysicalMemory | Measure-Object Capacity -Sum | Select-Object @{Name="GB";Expression={[math]::Round($_.Sum / 1GB, 2)}}

GB
--
 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions