-
Notifications
You must be signed in to change notification settings - Fork 3k
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
NVSTORE deinit function doesn't free memory #8513
Comments
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-16 |
@jeromecoutant Working on it now. Seems like |
@jeromecoutant Is this reproduced? |
Hi Found some new information: In my mbed_app.json, got:
I changed to
|
Thanks @jeromecoutant managed to reproduce it (by simulating a memory restricted board). Trying to find the root cause now. |
@jeromecoutant Please check whether #9445 resolves this issue. |
Description
Got this test failed during ST CI tests :
Console log:
Analysis
It seems that issue comes there :
ret = nvstore.deinit();
TEST_ASSERT_EQUAL(NVSTORE_SUCCESS, ret);
ret = nvstore.init(); ==> Operator new[] out of memory
It seems that the deinit function doesn't deallocate the memory,
as in the next init, some memory is missing ?
@geky @davidsaada
Issue request type
[ ] Question
[ ] Enhancement
[x] Bug
The text was updated successfully, but these errors were encountered: