When set, -dbtrimlogs will delete old unused database log files every 5000 blocks. Otherwise several GB of logs build up while downloading the (1GB) blockchain, and are only deleted when the client exits.
Fixes part of the bug #999. The QT client still sometimes crashes when it runs out of disk space.