Here’s a very simple solution that works on my Samsung Galaxy S II and Note 1; I have no idea about other models:
- Open the phone app and switch to keypad.
- Dial
*#9900#
- On the screen that appears, click on the button labelled “Delete dumpstate/logcat”.
I’ve restored about one GB of system space this way.