Limit the size of pixmap cache.