Hi,
I had this before, reading an Excel file generates an out of memory exception.
Yesterday again and I had to restart the server to get VC up and running again.
6/27/2013 9:03:54 AM Err Error saving jobfile: System.InvalidOperationException: There was an error generating the XML document. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Number.FormatDouble(Double value, String format, NumberFormatInfo info)
at System.Xml.XmlConvert.ToString(Double value)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterJobClassArray.Write85_TaskStatsClass(String n, String ns, TaskStatsClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterJobClassArray.Write442_TaskClass(String n, String ns, TaskClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterJobClassArray.Write445_JobClass(String n, String ns, JobClass o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterJobClassArray.Write446_ArrayOfJobClass(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.GHAMFGCEDFOEIDCMEENNAFIOCECPBDKLJMLG.FCKIFCEPFBIFEKINIIGIEHLEGDKONOFFKELJ(String , List`1 lstIncludeOnly, Boolean )
I'm reading three columns of a specific sheet. This took 157 seconds.
Today the task went fine and took 220 seconds to complete.
It takes a lot of time, I think this has to do with lookups in the excel file. Isn't there a better way handling this? a Sheet without lookups takes a few seconds...
Regards,
Erik
Uses Visualcron since 2006.