Hmm, P4? Be glad you don't have one that requires RDRAM.
Pair of DDR2 sticks aren't that expensive. I use Kingston HyperX for gaming rig, and I'd consider that cheap (especially considering a DDR3 kit would cost double, even more if I want to match the low latency of my current DDR2 kit).