Thanks for all the extra comments. I wasn't aware that a 32 gig system would limit the RAM used by programmes.
That said, the problems only started after the X2a update. I never had an out of memory error with X2. Last night, as one of the previous postings suggested, I used the REX player and dragged in a midi file into the project from there, and it was all fine.
I don't know if my machine can take a 64 bit operating system, but anyway, I'd rather just change my PC at some point to a 64 bit PC and get something a little newer. For now I have a work around so I'm happy.
The system seems very stable now that I've reinstalled it all with the quickfix, the most stable that I've experienced. I don't want to rock the boat too much! Thanks for all the help and the comments.