https://help.ubuntu.com/community/Installation/SystemRequirements
http://support.microsoft.com/kb/314865
http://www.apple.com/macosx/techspecs/
As you can see XP is said to require much less resources compared to Ubuntu/XUbuntu (let's not get into stripping the kernel/packages and the alternate install. Those are not viable solutions for a noob/beginner and XP can be slimmed down a lot too). Apples system requirements would be much higher (comparable to Vista), but that is no problem because MacOsX is meant for new computers anyway.
Now I now better than to take those supplied numbers and rely on them, so I did some testing on a real pc (old) and in a virtual machine (easy to change memory)
I tested Ubuntu, XUbuntu and Windows XP RTM and Windows XP SP3.
Windows XP RTM uses about 60 MB of memory after installation, Windows XP Sp3 uses about 80 MB of memory after installation. That means 128 MB should be enough for normal use of the OS. However I would add 50 MB for a virusscanner so I would consider 128+64=192 the minimum for a workable XP-SP3. My advice: Forget about XP RTM
I didn't know how to get the "in use" memory from a Ubuntu system, so I just allocated the same amounts as XP (64, 128 and 192).
64 MB was just enough to keep XP running. Starting a program was already slow and adding the virusscanner was painfull. 128 MB was enough for XP but adding a virusscanner still hurt performance a lot. 192 was indeed enough to run XP, a virusscanner and still have room for other programs (but don't expect to run Photoshop CS3)
XUbuntu was barely workable untill 256 MB but got much better from there.
Running Ubuntu was......horrible, still pretty bad on the mentioned 384 MB. Going up to 512 made it workable.
For fun I also tested Vista SP1 and was surprised. If you run it on 512 MB it says 400 MB is used. If you run it on 384 MB it says 312 MB is used and on 256 MB it was running and mentioning 192 MB was used. 256 MB felt slow, but adding 64 MB made it workable (without virusscanner). I would say 384 MB is workable with a virusscanner.
I would really like to test OSX under low memory restrictions, but I don't have the hardware and software to do that.
I realise this isn't a high quality test and that "workable" is a subjective term. I don't have time to do a better test than this and don't feel like I should. I think everyone that would do a test like this would get simular results. I tested with the default installations of the latest version (except when I say XP RTM, that is the original version from 2001) and realise that (X)Ubuntu have more things installed and running compared to XP. Avira was the virusscanner I tested
I just wanted to see if Ubuntu wasn't to heavy for an old system and what the limits for other Operating systems are. I have experienced that mail and office tasks are very doable on older machines and running a printer/file/web server isn't very demanding for personal use. Surfing the web required much more from machines than I expected. To understand what I mean, just try to watch a flash/youtube movie on an old pc (<500 Mhz and < 256 MB)
To summarize if you really want to use that old pc and do more than just 1 task at a time, make sure you have at least the following amount of memory: XP 256, XUbuntu 384, Ubuntu (and Vista and probably MacOsX) 512