Live data from Hacker News

Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

twitter.com

1–10 of 342 posts

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#2
This is not a gif that somehow causes excessive allocations when rendered, the gif is being opened in a specific editor.

The gif has nothing to do with it if anything, opening 700+ frames in an editor is causing a problem.

It is a clickbait title trying to take advantage of the fact people will think this was like gif bombs of the past.

-

Downvoting me won't make your uninteresting bug in the systems layer of a new arch interesting, or your title any less clickbaity, nor will your quoting rules about mentioning downvotes like a bot :)

Clickbait is dirty stuff that shouldn't be allowed to ruin the usefulness of an aggregator by turning every post into a headline writing competition

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#3
There’s more information, including a copy of the image, in the forum discussion. The forum seems a bit pokey for me at the moment, though.

https://forums.flyingmeat.com/t/memory-consumption-when-open...

Gus Mueller (the author of the linked tweet) is the author of the Acorn image editor.

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#4

This is not a gif that somehow causes excessive allocations when rendered, the gif is being opened in a specific editor. The gif has nothing to do with it if anything, opening 700+ frames in an editor is causing a problem. It is a clickbait title trying to take advantage of the fact people will think this was like gif bombs of the past. - Downvoting me won't make your uninteresting bug in the systems layer of a new a…

Seems to just be a memory leak in a framework the editor is using, that seems to only affect M1. Which is mildly interesting but a bit of an anticlimax...

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#8
Even 360MB seemed a bit high to me so I had to open it up in a few apps to get some perspective.

Ristretto: 48.8MB. EOG: 51.3MB. ImageMagick: 169MB. Firefox: 305.1MB. Vivaldi: 185.2MB. Edge: 196.5MB. GIMP: 244.8MB.

OS memory usage remained relatively flat once app exited. xUbuntu 20.04.

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#9

This is not a gif that somehow causes excessive allocations when rendered, the gif is being opened in a specific editor. The gif has nothing to do with it if anything, opening 700+ frames in an editor is causing a problem. It is a clickbait title trying to take advantage of the fact people will think this was like gif bombs of the past. - Downvoting me won't make your uninteresting bug in the systems layer of a new a…

Seems to just be a memory leak in a framework the editor is using, that seems to only affect M1. Which is mildly interesting but a bit of an anticlimax...

The framework is part of Apple’s UI stack and indicates a window system/graphics driver bug somewhere in macOS. So it’s probably more than just “an application has a bug”, but still not very interesting until we learn more.

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#10

Could this be related to the earlier reports of excessive SSD wear on M1 Macs?

Just purchased my first Mac after using Linux for most of my adult life. How big of a concern is this? I am seeing mixed reports when looking around - should I be questioning my purchase if I was expecting my M1 Air to last a few years?
Post reply on HN