You can use software like RidNacs to get an idea where all your space is going. Of all the services that could be eating all your RAM, I have a hunch that Windows Update could be the culprit and a corrupted store could be to blame. Try this KB article and FixIt tool.