I think I might have found out why that was happening. Maybe it's just a coincidence but the other day my computer was up for about a day and a half without any problems, but as soon as i go into task manager to check my ram usage, it started to run out of memory. I just let it sit there all night and this morning I'm on it and it's fine. Could there be something wrong with Task manager like a memory leak or something?