You can specify the size of the cache for storing messages on your phone.
To do this, tap the "Menu" icon in the upper left corner of the screen, touch the "Settings" icon at the bottom of the screen, and select the "Storage" section. Specify the size of the cache and tap "Reset Cache" to clear it.