-
Notifications
You must be signed in to change notification settings - Fork 265
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
Fixed Memory Leak #4504
base: master
Are you sure you want to change the base?
Fixed Memory Leak #4504
Conversation
test/functionalTest/cases/0000_statistics_operation/statistics_with_counters.test
Outdated
Show resolved
Hide resolved
Looks promising! Thanks! :) Note the fail in 0000_statistics_operation/statistics_with_counters.test detected by GitActions. You probably need to do some adjust in the |
Updated, please review. |
Looks better! :) Probably an extra adjustment is needed. I see this in test execution:
|
I'm afraid the validation error remains after the last modifications...
Maybe this can be fixed reordering the keys in the JSON in the proper way. |
Added OPTIONS in /v2/op/notify
I'm afraid the validation error remains after the last modifications...
I recommend you to run the tests locally until it gets ok. |
If adjusting the test is getting hard to you, I can finalize the work. It would be great if we could complete this PR so we can produce a 3.11.1 hotfix for Orion. Just tell me if you need help with this. |
Reordered the keys in the JSON.
Hi @fgalan, Thank you for your guidance and offer to assist with the tests. I've updated the PR and ensured that all tests pass locally. Let's proceed to finalize it for the 3.11.1 hotfix for Orion. |
I have done a test like this. First, to check I'm using the last version in your branch (note git version commit matches the last one at the present moment in the PR):
Next, to run valgrindTestSuite.sh on the testing ftest:
A memory lost is detected (NOK). Looking into the aforementioned
Could you have a look, please? You can to the same check with valgrindTestSuite.test to check yourself. |
Hi @fgalan, I've implemented various approaches to address the memory leak issue, as outlined below (one previously shared also):
Approach 2:
The memory leak issue still persists even after updating the REGEXPECT part. While the functional tests pass successfully, testing with Valgrind reveals that the issue remains unresolved. Please guide me to proceed further. |
Thanks for the analysis. I would have a look into it and provide feedback. (Unfortunately, this wasn't ready for Orion 3.12.0 version, which we have released today, instead of 3.11.1. But it would be included for sure in a next Orion version :) |
Fix for #4261.