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 in logger #2232

Open
chep opened this issue Feb 26, 2024 · 3 comments
Open

Memory leak in logger #2232

chep opened this issue Feb 26, 2024 · 3 comments
Labels

Comments

@chep
Copy link
Contributor

chep commented Feb 26, 2024

I tried to download files via FTP with MAVSDK_FTP_DEBUGGING and MAVSDK_MESSAGE_DEBUGGING enabled.

The memory consumption was really big and always increased until OOM. I think there is a memory leak in Log* functions because when I disable debug, the problem is gone.

@julianoes julianoes added the bug label Feb 29, 2024
@julianoes
Copy link
Collaborator

Interesting! That will be fun to track down. Thanks for the report.

@julianoes
Copy link
Collaborator

Could the leak be in the FTP code? What sort of FTP action are you doing when debugging this?

@chep
Copy link
Contributor Author

chep commented Jun 3, 2024

I was using ftp client with burst download.

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

No branches or pull requests

2 participants