News for hackers. Stuff that matters.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by jandrese on Monday March 04, 2024 @01:58PM (#39594446)
My wife has been complaining to me about how she regularly gets the "choose which application to terminate" dialog on her Air. I knew in my heart that 8GB wouldn't be future proof, but I underestimated how fast it would be a problem. She pretty much just runs Safari and Libreoffice Calc too, nothing that should really tax the machine.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by mrweasel on Monday March 04, 2024 @03:31PM (#39595647)
That is interesting, I run Firefox, VSCode, containers and whatever code I'm working on. I never even need to look at RAM usage. It would be interesting to know what triggers the RAM limit in your case.

The only application I ever need to terminate is Notes, which for some reason is extremely crash prone on the mac.

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by sroussey on Monday March 04, 2024 @05:10PM (#39596835)
I find that spouses never close apps, only close windows, or worse hide them and forget. If one of them is Photoshop...
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by dzhiurgis on Monday March 04, 2024 @02:40PM (#39594979)
What? I’ve caught Safari using 22GB of memory another day.

Open 1000tabs and it will kill any machine.

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by Perepiska on Monday March 04, 2024 @03:28PM (#39595600)
Since a person cannot look at 1000 tabs at the same time, most of the tabs can be frozen. I'm writing to you from Firefox which has 826 tabs right now.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by dzhiurgis on Monday March 04, 2024 @05:24PM (#39596971)
Congrats, you are in the top 7% of users who uses this horrible browser.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by nulld3v on Monday March 04, 2024 @06:09PM (#39597404)
Firefox is just really good for handling huge amounts of tabs because you can install alternative tab UIs like Tree Style Tabs and scroll/search tabs like they are bookmarks.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by Dah00n on Monday March 04, 2024 @05:57PM (#39597292)
Clearly you are not a web developer. Safari is by far the worst browser today. The new Internet Explorer.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by sgarland on Monday March 04, 2024 @07:10PM (#39597818)
Until Netflix supports full res in Chrome, and until Chrome battery consumption is on par with Safari, I’ll keep using Safari.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by Tagbert on Monday March 04, 2024 @02:49PM (#39595089)
Any browser can use massive amounts of RAM if you open a lot of tabs. Especially if they are running a lot of JS that doesn't release its memory properly. There are some sites I can go to that just continue to chew away at the RAM as long as the tab is open.

In any case, it's pretty easy for the OS to swap out browser data as it is chunkable by tab. Just because it had allocated 22GB doesn't mean that it was all active. Must was certainly swapped to SSD.

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by zarzavat on Monday March 04, 2024 @04:48PM (#39596567)
That sounds like she is running out of disk space, not RAM.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by meatmanek on Monday March 04, 2024 @07:14PM (#39597843)
I'm not sure why you're getting downvoted -- macOS uses available disk space as swap, and if your disk is full (and thus has no more room for swap) then it will pop up this dialog.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by Repulsion9513 on Monday March 04, 2024 @07:29PM (#39597966)
If you're swapping you need more RAM.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by grecy on Monday March 04, 2024 @05:48PM (#39597203)
> "choose which application to terminate"

What is that?

I've been using macs for decades, and I've never seen or heard of such a dialog.

Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by skydhash on Monday March 04, 2024 @11:17PM (#39599389)
Usually when an application go rogue with the memory allocation.
Re:Apple unveils the new 13- and 15‑inch MacBook Air with th... by grecy on Monday March 04, 2024 @11:25PM (#39599437)
MacOS has had protected memory since the public beta of OS X... I don't believe an app can do that.
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.