Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.16, 4.7.7
-
Component/s: Test suite
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
When working on CRM-17789, I always got memory errors, because the 2gb limit configured in wasn't enough.
This is because during tests, there are a lot of DAO objects created, but never cleared, which leads to huge memory usage. The big memory eater is api_v3_SyntaxConformanceTest.
The attached PR fixes this problem, and has a little speed bonus too