Print Page | Close Window

OutOfMemoryException

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1484
Printed Date: 28-Mar-2025 at 9:57am


Topic: OutOfMemoryException
Posted By: mbevins1
Subject: OutOfMemoryException
Date 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?




Replies:
Posted By: davidklitzke
Date 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.


Posted By: mbevins1
Date 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.




Print Page | Close Window