The Lag...on my computer...what does it represent?

Not what causes it… What does it represent? CPU issues, memory issues?

Computer in question is a MacBook Pro and by lag I mean I am hitting cheese and nothing is happening and nothing is happening and then all of a sudden everything is happening all at once. It’s driving me insane.

I have a memory cleaner that Computer in question is a MacBook Pro and by lag I mean I am hitting cheese and nothing is happening and nothing is happening and then all of a sudden everything is happening all at once. It’s driving me insane.

Hitting cheese?

I’m betting saying “hitting keys” to a speech-to-text software :).

Anyway, rubberbanding can be caused by any number of things - typically it indicates that you have a bottleneck somewhere in your system. It could be your processor, it could be your RAM, it could be your sound or graphic card, it could be your hard drive, it could be some antivirus software being a dick in the background and suddenly hogging the processor (that’d be my hedge bet if your computer is store-bought), it could even be caused by overheating.

Without running a series of tests and/or hardware swaps to narrow down exactly what triggers these slowdowns then try and find out why it’s kinda hard to tell. I was going to suggest starting with Process Explorer which is a pretty good piece of software to start looking into that sort of thing and cross out the first probable offenders… but then I remembered that MacBook.
I don’t know nuthin’ bout no Macs, ma’am.

Cheese? Have you tried cutting it instead of hitting it?

WAG: Your hard disk drive goes to sleep then it takes a few seconds to spin up when you want to do something. You get I/O bottleneck’d as a result.

It happens to me often since I have two drives but do 90% of my stuff on one of them, so the other powers down. Probably don’t have two drives in a laptop though, but it could still happen.

It’s almost certainly paging.

Launch Activity Monitor and see how much free RAM you have, and how much swap you are using.
I’ll bet it’s [not much / too much].

Thanks! I’ve been getting the beach ball a LOT recently on my MacBook Pro, and Activity Monitor showed that Firefox was using 1.12 GB!

Apparently, I have gotten out of the habit of quitting Firefox, so it had probably been running for weeks. I quit and restarted, and FF is now using only 85 MB, a significant improvement.

Smart fella.

Did not know there was a term, thanks! I like it.

how do I know what is the just right amount? Of swap, I mean…

The right amount is ZERO.
Anything more means that you are exceeding your installed RAM, and are forcing the OS to page to disk. How much swap space are you using?

Yes, but shurely it should be rubberbinding.

Yes, but surely it should be* rubberbinding*.

Yes, but surely it should be rubberbinding.

Yes, but surely it should be rubberbinding.

That’s a pretty garbled statement… :confused:

But I’m going to concentrate on ‘I have a memory cleaner’. By that, I assume you mean you have a program that ‘cleans’ your memory out and gives you a nice amount of ‘free’ memory, right?

If that’s the case, that’s not necessarily a good idea. Your memory is being used for a reason. Why would you want it sitting empty? The best amount of memory usage is ‘almost full’ - completely full and things start swapping over to the hard disk (bad), completely empty and the computer has to keep retrieving stuff from the disk (still bad).
What happens with most of these programs is that they clear out a lot of cache files - files that aren’t being used at that moment, but the computer may need to recall them at any time. If they’re gone, then your computer has to go and retrieve them from the hard disk again, which takes much more time.
It’s like having a garage by your house to store your stuff as well as a bigger storage unit across town, and constantly moving all your stuff over to the unit to keep your garage empty for some reason.

It’s not necessarily causing your issues, but it might not be helping either.

If I were to take a guess, I’d agree with Palooka and say it’s your hard disk going to sleep. I’m not familiar with macs, but do you have an option in your power settings to stop disks going to sleep (at least for an hour or two?).

Yes, Macs have this. There’s a checkbox in the “Energy Saver” section of System Preferences.

Both Firefox and Chrome are pretty bad at leaking memory on the Mac. I find that I have to relaunch them every few days to recover the gigs of memory they’ve leaked (and in the case of Chrome, the dozens of helper processes playing hell with context switching).

Safari, on the other hand, is much better at this, and also uses less CPU for many things (I can watch HD Youtube video on Safari and the fans on my Air don’t even turn on. On Chrome the CPU usage pegs 100% and the fans go crazy). There are some downsides to Safari, but it really is a lean and efficient browser on the Mac.

Yes, but surely it should be RUBBERBINDING.

Hmmm…what version of Safari are you using? I haven’t updated my operating system in, um, a while, and the version of Safari on OS 10.6.whatever is very sluggish. It actually has me contemplating gritting my teeth and going through with the OS upgrade.

How many network/cloud/iTunes/sync etc. services are you plugged into?
Network slows down, Mac often waits for it to finish, or timeout.
That can leave your hit cheese unresponsive for an unpleasant amount of time.

˙ʞɔɐq pɹɐoqʎǝʞ sıɥʇ ƃuıʞɐʇ ɯ,ı 'sı ʇı ɹǝʌǝ ʇɐɥʍ ʇnq ƃuıpuıqɹǝqqnɹ s,ʇı ɟı ǝɹns ʇoN

I have autoupdates enabled, so the most recent one. It’s worth it.

The biggest gains were made in Mavericks, I believe.

The Youtube thing has to do with how Youtube encodes video, I believe, rather than any Safari magic. On many browsers, it uses a more space-efficient encoding that requires lots of CPU to decode. On Safari, it uses H264, which has hardware acceleration.