Skip to content
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

Memory leak or fragmentation #710

Open
MarcFinns opened this issue Oct 4, 2024 · 0 comments
Open

Memory leak or fragmentation #710

MarcFinns opened this issue Oct 4, 2024 · 0 comments

Comments

@MarcFinns
Copy link

Hello, I want to use the library in a doorbell repeater.
For its own nature, the device plays the same mp3 (from LittleFS) every time it is invoked.
Apparently, after the first time the ringtone is played, there is no way to rewind. From what I read in the various comments here, the only option is to delete the file object and open it again.
In this process, the heap gets smaller and smaller and then the device crashes. I triple-checked the objects lifecycle and it is not a matter of not releasing them properly.
Is there a known leak somewhere? (or is there a better way to implement the expected behavior?)
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant