By default, the number of Message IDs that would be cached is 1000. But in case of high-end machines with better RAM configurations, this value can be increased to cache more data for quick response.
Example: If you want to increase the cache count to 2000, then use the query,
update GlobalConfig set PARAMVALUE=’2000′ where PARAMETER=’MESSAGEID_CACHECOUNT’;