But now both rams are working fine and there is 6GB ram shown in windows and in bios also. Full details are as under:
CPU: Core i3, 3220
Motherboard: Intel DH61WW
Ram: 2 Rams of Kingston (4GB and 2 GB)
SSD/HDD: WD 500GB
GPU: Sapphire Rx560 4GB GDR3
PSU: 400W
Chassis:
OS: Windows 10. 64 Bit