Do you have any other weird symptoms such as keyboard backlighting or ambient light sensor suddently getting stuck in one setting? Or do you have the sleep light misbehaving, that is, not coming on when the PB is asleep and/or occasionally staying on when the computer is awake? I had exactly the symptoms you described, in addition to those I just mentioned. I brought my 15'' Rev D PB into the Apple store and they fixed it (very quickly, by the way). It turns out that it was a hardware problem, NOT memory-related. The repair slip said that the part to have been replaced was ALS ASSY, which presumably stands for Ambient Light Sensor Assembly.
So call up Apple/walk up to the Apple store - they should help you. It seems that RevD 15-inchers are rather finicky animals (or rather, fruits

). It is not that they are troublesome overall (my friends have five of those among them, and none of them has had any problems) but they appear to be less reliable than other Apple books. But even so, I would not trade mine for anything else, except maybe for the next revision Powerbook (duh!).
Good luck and do not forget to post when your problem is taken care of.