»heaps«? Could you be more specific (including OS and exact message)?
What is your Photoshop > Preferences > Performance > Memory Usage setting?
"Heaps of RAM" is not very informative. 32 Please elaborate.
A lot more details are needed.
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
Message generic, could also mean not enough free disk space.
Do you have a 64 bit OS? If so, I'm guessing that you're inadvertently running the 32 bit version of Photoshop. How are you running Photoshop, specifically?
Assuming you have a 64 bit OS, try running the 64 bit version.