All generated images are cached. If you have a large site with many different bits of text being replaced, this may lead to a lot of old, outdated images in the cache.
The higher the number, the less frequent the cache cleanup will be run. Setting it to 1 will make it run every time and -1 will disable cache cleanup.