The default captcha service is initialized with a maximum store size of 100k and a garbage collection trigger set at 75k (reference:CaptchaServiceManager.java{}). There is no reason for the store size to grow that large under normal usage, which suggests that the fix may lie in blocking invalid requests either at XWiki or at HTTP server levels.
slauriere on 11/May/26 18:28
The default captcha service is initialized with a maximum store size of 100k and a garbage collection trigger set at 75k (reference:[CaptchaServiceManager.java|https://github.com/xwiki/xwiki-platform/blob/3e8e6ed34588bc4d54c465455714f28228846670/xwiki-platform-core/xwiki-platform-captcha/xwiki-platform-captcha-jcaptcha/xwiki-platform-captcha-jcaptcha-api/src/main/java/org/xwiki/captcha/internal/CaptchaServiceManager.java]{{{}{}}}). There is no reason for the store size to grow that large under normal usage, which suggests that the fix may lie in blocking invalid requests either at XWiki or at HTTP server levels.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.