Hello,
I'm managing an application that is using a Windows Service to handle request from application to the database. We have problems with OutOfMemory exception when trying to run bigger loads of data an also when trying to write bigger amount of data to files.
This is the error message we get.
Error while delivering batch: System.OutOfMemoryException: Exception of type
'System.OutOfMemoryException' was thrown. at
System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32
length, Int32 capacity) at System.Text.StringBuilder.GetNewString(String
currentString, Int32 requiredLength) at System.Text.StringBuilder.Append(String
value) at
Eds.Emi.GeneralDelivery.BusinessLogic.XMLFormattingService.FormattingService.AppendContentMessages(String
contractName, Products products) at
Eds.Emi.BusinessLogic.ProductDelivererService.DeliverBatchProducts(Task task)
The thing is that we can restart the service and try to run the same request from the application to the database, and it will work again. So it seems like something is not closed or cleaned out after a job is completed?? Anyone been having the same issues?
Regards
Andreas
Enter your message below
Sign in or Join us (it's free).