Daily Archives: Tuesday, 3rd May 2016

Now that’s what I call a memory leak

I’ve seen some impressive memory leaks before: a moderately impressive one from Safari in 2010 and a much fancier one from Firefox the following year. But I think they’ve been beaten. In this case, the application in question is NetNewsWire, but I suspect it’s not entirely to blame. I’ve noticed it eating lots of memory a few times before, but this time I managed to put two arbitrarily large numbers together and made another one. What I think is happening is similar to what broke Firefox: a badly behaved script. I’d left some tabs open in NetNewsWire when I left for work, and one of those had some ad banners and possibly even a video on it. And the result of leaving that all day? Well, my iMac wasn’t too unhappy – it responded quickly enough when I unlocked the screen, but displayed a message indicating that it was out of memory and would I like to quit some applications.

Remarkably, Activity Monitor came up without much of a struggle, which allowed me to see what was happening. Sure enough, NetNewsWire was using over 21GB of real memory and a crazy amount of virtual, taking the total to an impressive 70.96GB. I was able to Force Quit it, and then closed a couple of unresponsive applications, at which point the iMac carried on as if nothing had happened. Here’s the evidence, which will get bigger if you click on it:



Weight and Stuff Report – 3 May 2016

Down again? Amazing!

It was back to work today, so naturally the weather has improved. Grr, mutter, etc.

Today’s photo is a technical failure, what with the lack of sharp focus and all that, but there’s something about it that appeals to me

Hey! That's mine!

Hey! That’s mine!

Camera: X-T1
Aperture: ƒ/8
Shutter speed: 1/500s
Focal length: 540.4mm
ISO: 200
Taken: 30 April, 2016