Becoming all to frequent. The machine is quite simply not up to the job. Vista needs 2gb of memory to function properly. 512mg just isn't enough. Your options are to upgrade the memory, (and probably re-format yet again) or return the machine for a refund, and go for a higher spec.
Crucials site click here
Will scan your laptop and tell you what it's capable of memory wise.