News for hackers. Stuff that matters.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by richardw on Monday March 04, 2024 @06:47PM (#39597664)
I get this on an M1 Pro with 16GB. It's astounding. It claims to use swap but the trust is broken. I keep the Activity Monitor around and try to guess when it'll go flaky on me, but I never guess it right. I just restarted my machine now to reset whatever stupidity it has going on.

Never had it with Windows. Or iPad, or iPhone. Why does the pro computer do this? My guess is 5k external monitor and a few desktops, but...really. I'm not running multiple layers of VM's, it'll crash it with a few VS code windows, browsers, command lines.

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by greggsy on Monday March 04, 2024 @08:10PM (#39598235)
There is an intermitted and basically unacknowleged memory leak in M1, which is supposedly addressed in M2. It also depends what app you're using - Logitech Options was somehow hogging top to 12gb on occasion, but was fixed sometime in the past few months.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by Repulsion9513 on Monday March 04, 2024 @07:23PM (#39597903)
So what you're saying is you're running multiple browsers (VS Code is a browser), each of which takes anywhere from 1 to several GB of memory, and you're surprised that you're running out of RAM...
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by richardw on Monday March 04, 2024 @08:05PM (#39598204)
Correct. I often have hundreds of browser tabs open on my iPhone, but it knows how to manage resources by unloading the ones I'm not looking at right now. The Mac can also swap tabs or apps to disk. Or warn me when I hit 90%. The only wrong option is to start freezing when it's too late. I'm a software developer who has been coding for decades, and I'm surprised by this failure mode. What would a random non-techie need to learn to reason about this? It's not like Macs are marketed only to technical professionals who keep an eye on resources.

Look, at least the Apple is smart enough to wake up basically in the same window state after having refreshed the resources. That's fantastic. But even better to fix it without going through the whole "have you turned it off and on again" routine.

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by skydhash on Monday March 04, 2024 @11:16PM (#39599385)
> I often have hundreds of browser tabs open on my iPhone, but it knows how to manage resources by unloading the ones I'm not looking at right now. The Mac can also swap tabs or apps to disk.

Different models of computing. The iPhone only displays one tab inside one application at a time. And switching is slow enough that the OS can prefetch the swapped memory for the new view. A desktop app usually keeps everything alive as switching is very random and instantaneous. And you don't go open things that require a lot of RAM when you don't have that many (Each electron app is a whole new browser which is already a resource hog)

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by WheatMillington on Monday March 04, 2024 @08:46PM (#39598482)
I've been using basic Windows laptops for work for many years now, and have never once had it ask me to start terminating applications.