I don't think there's anything wrong with the computer itself. Generally computers that run slow simply have bad software configurations.
Windows XP can run satisfactorily with as little as 256MB, but I recommend you have 768MB or greater. Which you do.
Which, therefore, brings me to the conclusion you've got poorly configured applications running all the time that the computer doesn't need. Consider cleaning up your files and programs.