We regularly have to adapt the maximum cache size in the Tomcat context.xml, but we always discover it after the fact. It should not be too hard to catch those during the Tomcat startup in integration tests and fail the build in that case.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.