Usable ram is half of total memory

Solution 1:

I have solved my problem by cleaning the ram modules. But i don't understand that why lshw was showing 4gb ram.