~martijnbraam/Megapixels#65: 
Memory Leak 1.3.0

Im running manjaro phosh dev build with megapixels 1.3.0 and it looks like it has a memory leak. Leaving the megapixels app open and monitoring the memory usage with htop shows the memory usage continue to climb until i run out of memory and goes back to normal once i kill megapixels.

Status
REPORTED
Submitter
~luigi311
Assigned to
No-one
Submitted
3 months ago
Updated
2 months ago
Labels
No labels applied.

~dhedberg 2 months ago

I see the same thing on mobian/phosh and 1.3.0, where the memory usage ticks up constantly with a couple of MB per second.

The issue is apparently related to 59dde6bb74276f34c76d75d5fe801a0666c37b79 ("Fix crash on musl and clean up dependency"); memory usage is stable again after reverting the relevant part of that commit. I haven't dug any deeper than that.

Any ideas or pointers to what the issue with musl was, ~martijnbraam?

~martijnbraam 2 months ago

double free afaik

Op za 30 okt. 2021 om 20:26 schreef ~dhedberg outgoing@sr.ht:

I see the same thing on mobian/phosh and 1.3.0, where the memory usage ticks up constantly with a couple of MB per second.

The issue is apparently related to 59dde6bb74276f34c76d75d5fe801a0666c37b79 ("Fix crash on musl and clean up dependency"); memory usage is stable again after reverting the relevant part of that commit. I haven't dug any deeper than that.

Any ideas or pointers to what the issue with musl was, ~martijnbraam?

-- View on the web: https://todo.sr.ht/~martijnbraam/Megapixels/65#event-103196

~dhedberg 2 months ago

~benjamin-schaaf 2 months ago

That patch has already been merged in the new repository: https://gitlab.com/postmarketOS/megapixels/

Register here or Log in to comment, or comment via email.