Live data from Hacker News

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

twitter.com

241–250 of 342 posts

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

#241

Earlier quoted context omitted.

The 64bit Aarch64 ISA has very little in common with the original ISA from '85.

I gather that it's true that ARM hasn't been as good about backwards compatibility as some of its competitors, but was ARMv8 really so much of a jump from ARMv7 that one can't count it as part of the same line of processors anymore?

Short answer is yes. Just one significant example all instructions 32 bit long and no Thumb.

If you read Patterson and Hennessy (Arm edition) there is a slightly wistful throwaway comment I think that Aarch64 has more in common with their vision of MIPS than with the original Arm approach.

Elsewhere you've commented that it's more similar to x86 -> x64 than x86 -> Itanium - which may be true but Itanium was a huge change. However, Aarch64 is philosphically different to 32 bit Arm so it's not really like the x86 -> x64 at all which was basically about extending a 32 bit architecture to be 64 bit.

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

#242

Earlier quoted context omitted.

Like with the butterfly keyboard? The one which they called a "pig" internally where "lipstick won't fix it", but which they kept selling for years? That totally broke my trust that Apple will address quality issues. https://www.ped30.com/2021/03/23/apple-butterfly-lipstick-pi...

Yes, it sucked that it took so long to redesign it. The bad keyboards started appearing around 2016, and it wasn’t until 2019 that a redesign first appeared, on the new 16” MacBook Pro. But Apple have always been good about free, no-questions-asked, out of warranty replacements for faulty/sticky butterfly keyboards. Not really sure what more you could reasonably want them to do.

"it's okay that Apple made this mistake, because they were always willing to replace your useless trash when it broke for you!"

Maybe Apple should have just swallowed their pride and addressed it in a single product cycle. I was one of the people waiting for the keyboard to be fixed before buying a Mac, and I just ended up switching to Linux before it happened. I ended up buying an M1 Macbook Air, but it doesn't get much use these days besides multiplatform testing.

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

#243
post #28

Earlier quoted context omitted.

As you said, mixed reports ( https://news.ycombinator.com/item?id=26244093 ) and not much followup since then. The most common worst-case numbers from that thread, if sustained, would indicate a 4-5 year maximum lifetime. If this actually turns out to be a widespread problem and Apple doesn't address it in a timely update you may see a class-action lawsuit and/or Apple warranty repair service in a few years.

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).

Not if the computer becomes a paperweight after those 5 years. If Apple wants me to consider a Mac, they need to make the NVME user-servicable, no exceptions. If the current chassis leaks are true, Apple has no excuse not to use the extra space inside their Professional(!!!) machine to give it a relatively standard feature found in laptops half it's price. There's no excuse anymore.

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

#244

Earlier quoted context omitted.

Where the category "fish" isn't a clade - it's possible to evolve to no longer be a fish - it's more comparable to a specific generation of ARM chips, like perhaps ARM32, than it is to the ARM line in general. It would be weird to say "64-bit ARMv5" in the same way that it would be weird to say "lactating fish". But it is not weird to say "64-bit ARM" for the same reason it isn't weird to say "lactating euteleostome.…

I appreciate that you used my bad joke as a fact-checking opportunity to spread some scientific knowledge :)

We take our analogies very seriously here, no jokes sir.

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

#245

My first thought was that each "frame" of the GIF is being expanded/rendered to its own backingstore. GIFs are pretty optimized files — where each "frame" can be a diff from the previous. "De-diffing", converting palette-based pixels to full 24 or 32-bit RGB could really blow up fast.

I'm pretty sure animated gifs only support intra frames.

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

#246
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).

MacBooks can easily exceed 10+ years rock solid. (Only battery may need a replacement)

Not anymore? It's not like battery replacement is very viable on modern Macs, and the SSD wear issue means that most of these "daily driver" machines will end up dead in more like 3 or 4 years.

But yes, older Macs were notorious for being great machines.

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

#247
post #143

Earlier quoted context omitted.

Hmmm... the chances for that are pretty slim I'm afraid. "Apple Silicon" is not a new system, it's just one of the large incumbents switching to another architecture (which is also not a first, this now being their fourth architecture, after 680x0, PowerPC and x86). In the desktop/notebook market, Wintel and Apple are firmly entrenched, with only ChromeOS and Linux challenging them - plus a few less significant OSes…

We're getting open source RISC-V wich seems more promising long term than ARM.

Not sure why you'd say that - especially if you look at Arm v9 and the fact that the architecture is starting to make inroads into there server market.

RISC-V is open source which is great in some respects but also not helpful in others.

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

#248
post #96

Earlier quoted context omitted.

If you close the app the OS should clean up the memory no matter what the app was doing

But closing tab != closing app.

In ff and chrome tabs are processes. So aside from resources allocated on behalf of that process by other processes not being cleaned up, the OS will cleanup all the memory that tab told the OS to allocated when closed.

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

#249

Earlier quoted context omitted.

Activity Monitor is not a reliable way to inspect memory usage, it's optimized for speed of calculation. Use 'footprint' and 'zprint' or Xcode/Instruments instead.

Activity Monitor measures memory footprint.

Activity Monitor is almost just as useless as Task Manager in terms of reporting memory footprint. Not only will Apple's API constantly hide resources from native apps (like how Safari conveniently hides it's rendering processes), but MacOS's memory model is completely at odds with their measurement techniques. Either way, you're better off using top to measure your system's footprint, if anything.

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

#250
post #209

Earlier quoted context omitted.

powerpc/IBM is still a big player in the server/HP computing market. They do many cool things with their architectures since cost is less of a factor(dynamic smp, switcheable endieness, OMI) but they suck to build code for from an out-of-box experience standpoint.

That's POWER, a different ISA, there are still some PowerPC embedded cpus but it's just slowly dying.

true, was just going off the debian package architecture naming PPC/ppc64el
Post reply on HN