On Windows
Windows users can determine the maximum RAM capacity in the Command prompt with the command below. It gives the final value in kilobytes which can be converted to gigabytes (divide the value by 1048576 to convert KB to GB).
wmic memphysical get MaxCapacity, MemoryDevices

With above example, there are 2 memory slots available and max 32 GB support.