Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.15
-
Fix Version/s: 4.7.31
-
Component/s: CiviMember
-
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