Are you getting the Out of Memory error while doing a Save in the Object Mapper? This could happen if you have a very large database (many hundreds of tables). Unfortunately, the Entity Framework could use some improvement in this area. My suggestion would be to increase the amount of virtual memory.
If your problem is not occurring in an environment of a large database, we would be interested in having you send us a reproducible case.