There are 4 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-41ba0d6b-ee9c-4e12-9668-0a7b3fda54f7 XWIKI-10594 Closed

OOM errors thrown when uploading a lot of pages

 
View issue   ยท   Add comment
 

4 updates

 
cid:jira-generated-image-avatar-7bf50ecc-42a8-45e8-abce-e0b9b919462d Changes by Simon Urli on 15/Oct/26 16:55
 
Assignee: Simon Urli
Resolution: Cannot Reproduce
Labels: bugfixingday performance
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-7bf50ecc-42a8-45e8-abce-e0b9b919462d Simon Urli on 15/Oct/26 16:55
 

The root cause found in the heap dump (the watchlist loading all recent events in memory before filtering them) no longer exists: the watchlist and activity stream were moved to the attic in XWIKI-17471 (12.6), and replaced by Notifications.

With the current code, the reported scenario does not put any event in memory for later emails anymore:

  • a user is only queued for a notification mail about an event they listen to, and the own events filter (enabled by default) excludes the events triggered by the user themselves, so the single Admin creating the pages is never queued
  • the event store queue is bounded and blocks the producer when full, and the Solr indexer queue is bounded too (solr.indexer.queue.capacity, 100000 by default)

Closing as no longer reproducible. The remaining risk of loading a whole period of events in memory for the periodic notification mails (e.g. a user watching the space with daily mails) is tracked in XWIKI-17610.