OK, so i'm having very similar problems but different circumstances:
Macbook PRO 2008 model
OS X 10.5.8
Nvidia GeForce 8600M GT (I do not have any external monitors hooked up)
I have absolutely nothing hooked up.
So my freeze-up's usually lock up the whole computer but I can still move the swirling beach ball around and the music stops playing.
They mostly happen with browsers. (I always use chrome, but happens with Firefox, too)
99% of the time, the freeze occurs when I open up a new tab on chrome, and type a few letters.
Most of the time it lasts around 20-30 seconds.
The "new tab freeze" doesn't occur in cycles. It occurs once and it's done, but sometimes the lock ups start occuring one after the other over and over. Restarting the computer doesn't help. First thing I did is start up itunes and play a song to easily see the frequency of freezes. The song kept playing until I started chrome up, when the freezes started again. I force quit chrome, the freezes stop, the song plays without problems. I try firefox instead of chrome, same thing happens.
So in general, the computer lockups are caused by the browsers but affect the whole computer.
I did not install any new software that might have triggered the problem.
A hard restart does not solve the problem.
The lockups go away on their own after about 20 minutes with the browser open. I know this because the music finally starts playing without lockup interruptions.
I'm also sure that the problem has nothing to do with the battery as I replaced it recently with no effect.
I suspect that it might have to do with the RAMs but I cannot test that coz i dont have spare rams.
It might also have to do with excess heat.. Honestly I'm leaning towards hardware because I can't seem to find any software that triggers the problem other than the browsers and I've been using them forever.