I had a 4 GB RAM in the Ubuntu system, then I bought again a 4 GB RAM, but this time the new RAM is not detectable by OS as well as BIOS.
My motherboard supports 8 GB RAM 800/1067 MHz RAM
old ram -> 4 GB 1600 MHz detectable
new ram -> 4 GB 1600 MHz non detectable
free -m shows only 4 GB of RAM.
lshw command also tells that only 4 GB RAM is plugged that is the old one.