When I switched from Mac Lion to ML it started behaving very abnormally. Applications became slow. When searched for the solution I got two fixes either to increase RAM or use a drive cleaner.

Which way to go?