hi Don,
It was hard to read the spreadsheet as a PDF, but in the PDF was the final .NET logging from the application crashing, which is below. Notice that it has “system.drawing” and that’s when this is occurring, on a draw.
Yes, I agree, this is an exception encountered down in .NET and then bubbled-up to MapSuite and then to my application.
Also on the Drawn & Drawing Exceptions the below is encountered intermittingly and sometimes coupled with “Parameter is not valid.”.
“Collection was modified; enumeration operation may not execute.”
In the meantime what I did was to place all Feature Layers (Shape File & SQLite) on one LayerOverlay configured as SingleTile. I installed this configuration on five production workstations. They have been running now for over 24 hours and not one problem has been encountered.
I would like to get these exceptions resolved so will modify my code in an attempt to capture all of what is in Exception. I will get this done in a day or two, install it on a few workstations and capture the logs for you.
Regards,
Dennis
EventType clr20r3, P1 viewofchicago.exe, P2 1.0.0.0, P3 575ed068, P4 system.drawing, P5 4.0.0.0, P6 5073c7ec, P7 42c, P8 2c, P9 system.outofmemoryexception, P10 NIL.
Exception Info: System.OutOfMemoryException
Stack:
at System.Drawing.Graphics.CheckErrorStatus(Int32)
at System.Drawing.Graphics.DrawImage(System.Drawing.Image, Int32, Int32)
at ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas.EndDrawingCore()
at ThinkGeo.MapSuite.WpfDesktopEdition.Tile.phc=(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()