[RSS Feed/News] Unexpected high memory usage in XF\Job\PermissionRebuild

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
PermissionRebuild loads all permission combinations ids without any limits, and then iterates rebuilding permission combinations without releasing the entities or data loaded.

This can result in unexpectedly high memory usage when using large number of nodes/user-groups/per-user-permissions.

This class probably should use the AbstractRebuild to load & rebuild permissions in chunks and to early out sooner.

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom