Somebody told me that at the late hours of the night, Macs perform a self maintenance. Cleaning out caches, storing files, managing ram. Is this true? If so, is Apple really so thoughtless to think that maybe some people turn their computers off every night thus eliminating the possibility of the machine EVER doing maintenance?
Yes it does. You can do it yourself:
http://www.thexlab.com/faqs/maintscripts.html