Live data from Hacker News

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

twitter.com

131–140 of 342 posts

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

#131

Earlier quoted context omitted.

I don't like the title, it's as simple as that. No one said there isn't a bug, but not about the gif, it's about editing the gif. This title is like saying a guy killed 10 people with a pen, and it turns out he signed an order for their execution. It's a bug, but nowhere near what the title implies. - Edit: No it's not about the gif, just like it's not about the pen even if it was involved. The editor completely chan…

Uh-oh, this is sooo important, some title on the Internet is wrong ! If I read it correctly, the same app, compiled from the same code, for the same OS, but different CPU architectures, exhibits wildly different memory consumption for the same task. That's what's interesting here, at least to me, but you chose to nitpick on the title instead, just because - from what you write - it offended you somehow by not includi…

I don't like clickbait :)

Or let me put this in your language:

Uh-oh, this is sooo important, someone used sarcasm and wrote a ton of words I value less than piss!

I mean, sure, go on, have fun, but at least don't expect me to care about your opinion

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

#132
post #124

Earlier quoted context omitted.

I mostly agree with your overall argument, but the "mostly" qualification goes along with a small but important correction: > The fact that ARM, an open-source architecture ARM is in no way open, it's fully proprietary. Unlike x86 it is not vertically integrated and is available for anyone to license all the way to the architectural level, and that's huge. But said licenses certainly are not free either, nor Free. Th…

SPARC is open and not only that Sun shared some actual cores that were used in production. I don’t know why Power gets mentioned but SPARC doesn’t.

Probably because few would consider Sparc promising, since, unlike Power and certainly Risc-V, it's pretty much dead?

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

#134

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…

"DOCX bluescreens Windows" is exactly how your hypothetical scenario would be described. "Bush hid the facts" is described as a Notepad bug, even though it's a bug in a specific WinAPI function used by Notepad and thus would also affect other programs that used that function. It was discovered on Notepad, it became popular as a bug of Notepad, and so it's considered a Notepad bug.

Yes it's a Notepad bug! Exactly! The editor!

Not a TXT bug! Thank you for making my point!

It'd be kind of crazy if there was something inherent to the TXT that when opened in any program made that bug occur! But the issue was with Notepad! Much more believable!

Windows bug would be acceptable too, or WinAPI bug :)

This isn't that complicated, I don't mind teaching y'all how to not write non-clickbait headlines

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

#135

Who else is excited that we are might revive the 80s Cambrian explosion of different system system and architectures? Back then there were so many options.

Maybe, but this seems to be a bug with Apple's IO toolkit on x86, so it's unrelated(other than x86 support on macOS already falling apart, which is completely unexpected, considering the quality of the rest of the OS after recent releases).

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

#136
post #116

Earlier quoted context omitted.

Thanks for the link. The issue seems to be the IOAccelerator framework: > I’ve narrowed it down quite a bit (and submitted it to Apple as FB9112835). > What’s going on is that the IOAccelerator framework has some sort of massive leak in it, where it’s using up 35GB of ram, 25 of which is going to swap (which is why you’re seeing kernel_task flake out). > On intel, the same image only uses 1480K from IOAccelerator.

Wow. This can explain some of excesive swap usage on M1.

And yet it's relatively performant, says a bit about the quality of components in apple hardware (SSD in this case)!

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

#139

Earlier quoted context omitted.

I find that the browsers eat all my memory. Have to exit them for data crunching.

I have hundreds of tabs in Firefox. Total memory usage is 4GB at worst.

Could it be that not all tabs are loaded into memory at all times? I use Firefox with Sidebery and a boatload of tabs, most of which aren't loaded at all.

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

#140

Earlier quoted context omitted.

My point was nowhere nearly as interesting as if a specially crafted gif somehow triggered a memory leak in a driver when rendered. The title doesn't make it clear individually opening 730 frames in an the editor is the userspace action exposing an underlying system bug

> My point was nowhere nearly as interesting as if a specially crafted gif somehow triggered a memory leak in a driver when rendered. There's absolutely no mention of "specially crafted" GIF or "when rendered" in the title. You're projecting your expectations which have nothing to do with the story and are not even hinted at by the title, and choose to be offended that they get betrayed. There are many things I'd lik…

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 against the rules in explaining simple nuances of written word

Post reply on HN