Now your best bet first is to close some applications to free up the resources and then you can try the following using the link below to resolve the problem.
Lastly if the problems keep on developing the best approach would be to add more RAM to the computer since you just cannot stop applications from consuming additional memory.