查看windows最大支持内存
DOS下运行
wmic memphysical get maxcapacity
最出来的是K再除以两次1024算出G

或wmic再运行memorychip
C:\Users\Administrator>wmic
wmic:root\cli>memorychip
Attributes  BankLabel  Capacity     Caption   ConfiguredClockSpeed  ConfiguredVoltage  CreationClassName     DataWidth  Description  DeviceLocator               FormFactor  HotSwappable  InstallDate  InterleaveDataDepth  InterleavePosition  Manufacturer           MaxVoltage  MemoryType  MinVoltage  Model  Name      OtherIdentifyingInfo  PartNumber        PositionInRow  PoweredOn  Removable  Replaceable  SerialNumber  SKU  SMBIOSMemoryType  Speed  Status  Tag                TotalWidth  TypeDetail  Version
2           BANK 1     17179869184  物理内存  2667                  1200               Win32_PhysicalMemory  64         物理内存     Controller0-ChannelB-DIMM0  8                                      0                    0                   King Tiger Technology  0           0           0                  物理内存                        DDR4-PC-16G-2666                                                    00000000           26                2667           Physical Memory 1  64          128
ConfiguredClockSpeed:内存频率
Manufacturer:制造商
ConfiguredVoltage:电压
PartNumber:完整描述几代内存,PC或笔记本类型、多少G、多少频率,如:DDR4-PC-16G-2666