Unresolved RAm issue in PC

I have two RAMs of 1 GB each installed in my PC both are of Kingston. Some times they work fine but some times my PC shows total installed memory of 1 GB only. What is the problem in it?
I have removed both and put them in different slots but even then the same problem occurred.
Guide me with the solution please.
