This issue has been created
 
 
XWiki Commons / cid:jira-generated-image-avatar-5c35812a-420e-4a98-bdb3-0b6b29b108fd XCOMMONS-3342 Open

DefaultExtensionJobHistory does not scale

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2167d5a8-e7f7-488c-8e20-b78fbea72bf8 Thomas Mortagne created this issue on 22/May/25 14:26
 
Summary: DefaultExtensionJobHistory does not scale
Issue Type: cid:jira-generated-image-avatar-5c35812a-420e-4a98-bdb3-0b6b29b108fd Bug
Affects Versions: 16.10.8
Assignee: Unassigned
Components: Extension
Created: 22/May/25 14:26
Labels: performance
Priority: cid:jira-generated-image-static-major-e5c43231-0d00-40cc-9e3f-9d670ad83936 Major
Reporter: Thomas Mortagne
Description:

There are two important problems that a lot of extension job history can cause at DefaultExtensionJobHistory level:

  • they are all fully loaded in memory and there is no maximum size, so if there is a lot of extension related activity, you will quickly have memory problems
  • they are all loaded at startup in a blocking listener, so it could slow down XWiki startup quite a lot eventually