If you go into settings > application manager, you can select an app and clear it's cache. Now if you're talking about clearing up the phones RAM there's a built in task manager, depending on the phone manufacturer, that you can use to do this (clear the RAM that is).