New Posts New Posts RSS Feed: OutOfMemoryException
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

OutOfMemoryException

 Post Reply Post Reply
Author
mbevins1 View Drop Down
Newbie
Newbie


Joined: 16-Jan-2009
Posts: 27
Post Options Post Options   Quote mbevins1 Quote  Post ReplyReply Direct Link To This Post Topic: OutOfMemoryException
    Posted: 21-Sep-2009 at 8:44am

We are constantly getting an System.OutOfMemoryException on our ServerModel (edmx) vs2008 project and was wondering if anyone else has ran into this and if so, how did you fix it?

Back to Top
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Posted: 25-Sep-2009 at 3:10pm

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.
Back to Top
mbevins1 View Drop Down
Newbie
Newbie


Joined: 16-Jan-2009
Posts: 27
Post Options Post Options   Quote mbevins1 Quote  Post ReplyReply Direct Link To This Post Posted: 28-Sep-2009 at 4:08am

We have a large database and happens usually after a couple of builds.  We ended up changing the amount of memory visual studio is allowed to use and it seemed to help.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down