This is sometimes related to incompatible applications instead of a memory
issue. Assuming you have a retail version of XP, when the system is at the
XP desktop, place the XP CD in the drive, when the setup screen appears,
select "Check System Compatibility." If you don't have an actual XP CD as
specified, you can download the wizard from the following site:
http://www.microsoft.com/windowsxp/pro/howtobuy/upgrading/advisor.asp
Note, it's a large file, if you have access to a broadband connection, you
might want to use that to download this file if necessary.
Also, check the Event log for errors, open Control Panel, open
Administrative Tools, open Event Viewer, look for recurring errors, double
click the error, the information contained within may give a clue as to the
source of the issue.
How much free space do you have on the partition on which XP is installed,
if you have too little free space, there might not be enough room for the
pagefile and that could be the source of the error.
If you have plenty of free space on the system drive, perhaps you are not
allowing enough size for the pagefile, try letting the system control the
size. Open Control Panel, open System, go to the Advanced tab, click
Settings under Performance, go to the Advanced tab, click "Change" under
Virtual Memory, place a check next to "System Managed Size, click set and
then ok. Reboot and see if you still have the problem.