MAVSDK icon indicating copy to clipboard operation
MAVSDK copied to clipboard

Memory leak in logger

Open chep opened this issue 1 year ago • 3 comments

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.

chep avatar Feb 26 '24 17:02 chep

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

julianoes avatar Feb 29 '24 21:02 julianoes

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

julianoes avatar May 21 '24 03:05 julianoes

I was using ftp client with burst download.

chep avatar Jun 03 '24 07:06 chep