-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Sync leaking memory #9299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync leaking memory #9299
Conversation
Travis tests have failedHey @hluchas, TravisBuddy Request Identifier: 55404f80-0e2c-11eb-964d-5d54b4986782 |
This has the same problem as here #9297 (comment) , but target is correct for bugfix |
@hluchas can you double-check? The 3.1 branch and the staging branch both have the condition correct: https://github.com/mautic/mautic/blob/3.1/app/bundles/FormBundle/Helper/FormUploader.php#L154 https://github.com/mautic/mautic/blob/staging/app/bundles/FormBundle/Helper/FormUploader.php#L154 Your base must be off. |
Codecov Report
@@ Coverage Diff @@
## features #9299 +/- ##
==============================================
+ Coverage 31.96% 41.19% +9.22%
- Complexity 33592 34555 +963
==============================================
Files 1946 2060 +114
Lines 115952 111477 -4475
==============================================
+ Hits 37066 45923 +8857
+ Misses 78886 65554 -13332 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me.
I sync our integration and rebuild segments.
Code looks good.
Unit tests included, then approve it 👍
GTG when tests pass based on the dismissed review and that it has test coverage. |
This reverts commit 9534294dc0810dd332cac2edcde5b2a456879aaa.
This reverts commit db6cae4ec4b0b98e81f8b452e8b5b388e2b2c444.
I added missing coverage ;-) |
@all-contributors please add @hluchas for code |
I've put up a pull request to add @hluchas! 🎉 |
Description:
Sync is leaking memory with huge amount of data. After measurement we decided to fix growing array in
CommonRepository::usedParameterNames
Steps to test this PR: