Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19920

Job.process_membership uses too much memory

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      We have a CiviCRM instance with +/- 100000 active memberships. If we run the scheduled job Job.process_membership, php hits it's memory limit, and the job fails.

      I did some optimization; I will submit a PR in a moment. The resulting code is not beautiful at all, but I tried to not make it uglier

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              johanv Johan Vervloet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: