Find information on the maximum amount of memory that system can handle
On newer Linux systems, the dmidecode command can check the maximum amount of memory the machine supports by reading the capacity reported by the system BIOS. Example: use dmidecode to check the maximum memory supported by the system BIOS:
#dmidecode -t 16 Handle 0x0032, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 16 GB Error Information Handle: Not Provided Number Of Devices: 4