Live data from Hacker News

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

twitter.com

251–260 of 342 posts

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

#252

Earlier quoted context omitted.

Seems like a poor conclusion to draw with this little information.

People have reported their SSDs filling up (in terms of total writes) much faster on Apple Silicon machines. If IOAccelerator can leak like this then it would definitely explain it. 25GB swap for one image is absurd. Multiply that by a few months of usage. It may not be a smoking gun but it is a fingerprint in the pool of blood.

That’s been debunked.

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

#253

Earlier quoted context omitted.

What's a GIF? An image format. What's done with image formats? They are viewed. The default thought if someone says they opened a gif isn't "they splayed open the hundreds of frames for individual manipulation" anymore than someone saying "Car moved from point A to point B" would mean "Car disassembled and moved piece by piece from point A to point B" And I don't recall the rule asking you to backseat mod :) Nothing…

> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith. > Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.

Good thing I'm just explaining simple nuance then!

And please make an announcement about your promotion to mod :)

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

#254
post #94

Earlier quoted context omitted.

If you're actually following it proves exactly what I'm saying, the gif has nothing to do with it, Firefox isn't blowing up opening that gif, it's hitting whatever framework leak exists. This is like saying "DOCX bluescreens Windows" (which implies something that could possibly be exploited in some pretty scary ways) when in reality Word just happens to make some syscall that bluescreens Windows no matter who calls i…

I don’t know why you made up your mind on this without having any details. The person reporting is the author of a graphics editor, he damn well knows the difference between a bug in his own editor and system frameworks. The issue seems to be with opening the GIF via default system frameworks, not anything special the editor is doing. Chances are it will affect any other programs using the same frameworks, maybe even…

Dude there's literally a screenshot of the dissected gif right in the forum thread.

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

#255
The Pillow library in Python detects for these sorts of attacks and just throws an error if an image tries to decode into something that's about 10x the size of a UHD image. You run into these foils if you start dealing with scientific data and have to override these protections.

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

#256

Earlier quoted context omitted.

Seems like a poor conclusion to draw with this little information.

People have reported their SSDs filling up (in terms of total writes) much faster on Apple Silicon machines. If IOAccelerator can leak like this then it would definitely explain it. 25GB swap for one image is absurd. Multiply that by a few months of usage. It may not be a smoking gun but it is a fingerprint in the pool of blood.

If this were the cause people would have noticed having 0% free memory way before their SSDs started dying.

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

#257

Earlier quoted context omitted.

People have reported their SSDs filling up (in terms of total writes) much faster on Apple Silicon machines. If IOAccelerator can leak like this then it would definitely explain it. 25GB swap for one image is absurd. Multiply that by a few months of usage. It may not be a smoking gun but it is a fingerprint in the pool of blood.

That’s been debunked.

It hasn't been debunked if there's no source for the claim...

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

#258

Earlier quoted context omitted.

i'm pretty surprised apng hasn't really displaced gif, at least not completely. a lot of people don't seem to even be aware pngs are animatable these days

I think this is because video codecs superseded everything else. An MP4 file is going to be roughly the same size as an apng, while enjoying hardware acceleration on a lot of devices out there. There's still the weird niche of lossless compression where apng or webp would be preferred.

20 years ago the case was stronger but video codecs have both soaked up the performance wins and do not expose new security exposure.

Based on APNG and JPEG 2000, the only question I have for new formats is how they plan to get browser support. It’s a hard path to relevance unless you have a good answer for that (even if it’s, say, a WASM fallback).

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

#259
post #257

Earlier quoted context omitted.

That’s been debunked.

It hasn't been debunked if there's no source for the claim...

Apple said that the kernel interface used by smartctl is emitting invalid data, which invalidates all conclusions drawn from it, such as “there is/isn’t a problem with SSD wear”.

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

#260
post #79
post #28

Earlier quoted context omitted.

Wouldn't 4 to 5 years of full-day usage be just fine for worst case life expectancy for a laptop? I've had one that gave up on 3 years, a couple months after warranty ended (that seemed to be quite common for that brand at the time).

For Apple Laptops, more like 7-8, at least in the old days. Typically you would only replace them when they (gradually) became annoyingly slow for daily use. Agreed, I had to upgrade all of of my PowerBooks/MacBooks at some point with RAM and larger HDDs/SSDs. And my last Apple Laptop is from 2012 and I learned that Apple now drops support by the OS considerably earlier than in the old days (i.e. unecesarily early, m…

Shouldn’t be unsafe. Security updates are still coming out for the older OS that runs on these machines.
Post reply on HN