Hi David,
This is found in the output:
A first chance exception of type 'System.OutOfMemoryException' occurred in SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll
System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>SXXPlantJobMonitor.vshost.exe</AppDomain><Exception><ExceptionType>System.OutOfMemoryException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Exception of type 'System.OutOfMemoryException' was thrown.</Message><StackTrace> at SD.LLBLGen.Pro.ORMSupportClasses.ObjectGraphUtils.GetOrCreateAdjacencyList[TEntity](Guid objectId, Dictionary`2 adjacencyLists)
I'm using the latest version of LLBLGen 2.6.
When I look at the resource usage in the taskmanager, the physical memory used increases during the run of the program and stops when the maximum avaialble is reached. Near 2GB on a 2GB VM (Windows server 2003 Standard, SP2)). The database is on a separate server.
The updates to the database are done in a foreach loop. I have the impression that the garbage collection is not freeing all the resources needed in an update.
I would not know how to determine the condition that trigger the exception.
Where can I find the amount of data saved or the graph?