Hi,
I've just been reading the previous thread reqarding the out of memory exception (http://www.DynamicPDF.com/Forums/DisplayThread.csp?ForumId=17&ThreadId=2560), I'm also getting the error intermittently and not necessarily with large files. Usually I just rerun the request and it works, but I've just had an instance where by the error was raised repeatedly, eventually I restarted the DynamicPDF Converter service and then it worked okay. I also noticed that there were two instances of "ceTe.DynamicPDF.Converter.Service.exe" running in the processes list <-- is this right?
Regards Allan
System.Exception: Conversion failed ---> System.Exception: Error in loading the image ---> System.OutOfMemoryException: Out of memory.
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at b8.a(Object A_0, EventArgs A_1)
--- End of inner exception stack trace ---
at b9.a(l A_0, l A_1)
--- End of inner exception stack trace ---
at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)
at cr.b.b()
at cr.a(Byte[] A_0)
at cr.a(Object A_0)
Stack trace: at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at PDFConversionService.ConvertToPDF(String sInputFolderPath, String sUserFolder) in F:\websites\services\pdfcs\PDFConversionService.aspx.vb:line 200
Inner exception: System.Exception: Conversion failed ---> System.Exception: Error in loading the image ---> System.OutOfMemoryException: Out of memory.
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at b8.a(Object A_0, EventArgs A_1)
--- End of inner exception stack trace ---
at b9.a(l A_0, l A_1)
--- End of inner exception stack trace ---
at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions)
at cr.b.b()
at cr.a(Byte[] A_0)
at cr.a(Object A_0)
Inner exception stack trace: at a3.a(Object A_0)