Skip to content

Diagnosing a slow running Mac – Part 1: Memory

This short series will discuss some of the common problems that can slow your Mac down dramatically. In this installment we’ll look at memory, also known as RAM.

Over the years I’ve had probably hundreds of people say to me “my Mac’s running slowly, should I get a new one?”. Typically they’ll have gone to one of the Apple Mac retailers in Bath or Bristol to buy a Mac and had the virtues of the latest Macs extolled to them, and left with the warm glow of certainty that spending lots of money with transform their lives.

Sometimes this is true. Newer, faster hardware may be the solution. But often it’s not the whole story. There are a large number of factors that control the perceived performance of a computer and working out which is the “Rate Limiting Step”, to borrow a phrase from chemistry, can go a way to getting better performance from what you already have.

So how do you know if I have too little memory? The surest sign is that when you have a number of programs open, when you try to switch between them the computer grinds to a halt as the hard drive thrashes noisily. So what’s going on?

For every program that you have open, the Mac has to put aside space to remember what the program is doing. If it can it’ll use free space in the RAM (the ultra-fast short term memory of the computer). If there is not enough free space in RAM, it’ll write it to the hard disk, which is many many times slower. Think in these terms: when you go shopping, often you can remember what you want in your head and recalling is almost instantaneous. But sometimes your shipping list is too big to remember; so you have to write it down, then read it to remember what you wanted. Much, much, much slower. When you have insufficient RAM, you Mac will constantly be writing information to the hard disk, which is slow.

You can use the Activity Monitor application to see how much RAM programs are gobbling and how much the hard disk is being thrashed. Look in the System Memory tab and see how much “Free” memory you have and particularly look to see if the “Page Outs” increases over time. “Page Outs” indicates how frequently the computer is having to use swap space instead of RAM.

If the answer is a lot, try closing the programs that gobble the most RAM. Everything runs quicker? Then you need to buy more RAM…

Posted in Performance, Troubleshooting | Tagged , , | Comments Off on Diagnosing a slow running Mac – Part 1: Memory

Save money with iStockPhoto credit codes

If like me, you provide web design services to clients in and around Bradford on Avon, Trowbridge, Bath or Bristol, you’re probably spending a fair amount of time looking for good images to make your web design stand out. You’ll also find that fairly soon it feels like you’re giving iStockPhoto the keys to your bank account, as they’ve aggressively been increasing prices since Getty bought them.

But never fear, if you search around, you can often find some fairly tasty discount codes. I managed to get 20% off with a code I found from http://www.retailmenot.com/

Posted in Web Design | Tagged , , | Comments Off on Save money with iStockPhoto credit codes

Using Apple Hardware Test on your MacBook, iMac or Mac Pro

Back in the good ol’ days, if you wanted to find out if you had a hardware fault with a Mac, you need to use the Apple Hardware Test CD that came with your Mac, or use the restricted Apple Service Tools. However, with more modern Intel based Macs, Apple have used some of the space in the “Firmware” Boot ROM to stick the test tool directly onto the Mac.

If you hold down F2 on startup, you may, depending on your model, be able to start the hardware tests. Typically they won’t find anything, unless you enable test looping (Apple + L) and leave it running for a few days, but it’s worth a quick look.

A customer in Bath had a problem with it intermittently failing to boot; which could point to a failing MacBook hard drive. I replaced the drive, copied their data onto the new drive and took a Time Machine backup. However I couldn’t find any evidence in the system.log of disk I/O errors, so a quick trip into the hardware tests was called for, which also revealed nothing…

Posted in Troubleshooting | Tagged , , | 1 Comment

Using Subversion with Netbeans

We’ve all done it. Spent hours working on some changes to a website, then saved over the top of them and not been able to undo far enough to get back to where we were. It’s a sickening feeling.

However if you use Subversion (SVN) you can easily roll-back to previously committed versions and avoid some of the pain. Subversion clients are 10 a penny, and some like Versions for OS X are a real work of art. However, I use Netbeans as my IDE of choice and it comes with pretty good SVN integration. There’s a nice tutorial available here.

If you find you’ve commited to the wrong Repository or Folder, trashes the .snv folder inside the project from the Terminal with:

find ./ -name '.svn' | xargs rm -Rf

If you want to know what folders are in a Repository, use:

svn list --verbose file:///path to repository

And if you created a Project with the wrong name, you can clean up with

svn delete -m 'Message here' file:///path to repository/branch to delete
Posted in Web Development | Tagged , | Comments Off on Using Subversion with Netbeans

Dirt cheap iPod Touch for students when you buy a Mac

As you may know, Apple offers a nice discount to students in full-time education of around 6%. But you might not know that if you buy a Mac and an iPod Touch through the AppleStore for Education before 7th September, Apple will give you a £130 rebate. That means the iPod Touch 8GB will cost you £22!

You can find out more here.

Posted in Apple | Comments Off on Dirt cheap iPod Touch for students when you buy a Mac