While your subject looks to be a typo. As to 2GB RAM, that's a fine amount of RAM for most of us. And XP SP3 supported drives to over 1TB so that's not an issue yet.

As to how long a machine lasts is anyone's guess. I have this Compaq Portable made in 1983 that still works. That's 27 years.