Photoshop is a piece of crap and it's trying to eat my file

I have two gigs of RAM. It’s a highly layered photoshop file, but nothing crazy, really. When I save it tells me I don’t have enough RAM. Any clever ideas? It’s about 3-4 hours of work…