To fix #2931957: Allowed memory size of X bytes exhausted (tried to allocate Y bytes), the RadioactivityProcessor::processDecay and ::processEmits needs to be rewritten to use queue tasks instead of handling all decays and emits in one go. Reading the todo's in code, this problem was already forseen.

// @todo The number of incidents may grow very large on active sites and/or
// long cron cycle times. Prepare for queue processing.

This issue prepares for this change by refactoring the methods.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sutharsan created an issue. See original summary.

Sutharsan’s picture

Status: Active » Needs review
FileSize
10.62 KB
Sutharsan’s picture

Some additional changes.

  • Sutharsan committed 5342720 on 8.x-3.x
    Issue #2934721 by Sutharsan: Refactor RadioactivityProcessor
    
Sutharsan’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.