Hi Support,
im getting the following exception
_System.OutOfMemoryException was unhandled_
_ HResult=-2147024882_
_ Message=Exception of type 'System.OutOfMemoryException' was thrown._
_ Source=Aspose.Pdf_
_ StackTrace:_
_ at . ()_
_ at . ()_
_ at . ( , Boolean , Boolean )_
_ at . ( , Boolean )_
_ at ..ctor(ApsCompositeNode , , List`1 , List`1 , Boolean )_
_ at . ( , Single , Single , , Boolean , )_
_ at . ( , Single , Single , )_
_ at . ( , SizeF )_
_ at . (List`1 , , )_
_ at . (String , , IList`1 , , )_
_ at . ( , String , Stream , Boolean , HtmlSaveOptions )_
_ at . (Document , String , Stream , HtmlSaveOptions )_
_ at Aspose.Pdf.Document.Save(String outputFileName, SaveOptions options)_
_ at PDFtoHTML.Form1.Save(String fullPathToDocument, String FilenamewithoutExtension, String filenamewithextension) in d:\Rajesh Projects\PDFtoHTML 9.7.0\PDFtoHTML\Form1.cs:line 47_
_ at PDFtoHTML.Form1.btnconvert_Click_1(Object sender, EventArgs e) in d:\Rajesh Projects\PDFtoHTML 9.7.0\PDFtoHTML\Form1.cs:line 83_
_ at System.Windows.Forms.Control.OnClick(EventArgs e)_
_ at System.Windows.Forms.Button.OnClick(EventArgs e)_
_ at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)_
_ at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)_
_ at System.Windows.Forms.Control.WndProc(Message& m)_
_ at System.Windows.Forms.ButtonBase.WndProc(Message& m)_
_ at System.Windows.Forms.Button.WndProc(Message& m)_
_ at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)_
_ at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)_
_ at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)_
_ at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)_
_ at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)_
_ at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)_
_ at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)_
_ at System.Windows.Forms.Application.Run(Form mainForm)_
_ at PDFtoHTML.Program.Main() in d:\Rajesh Projects\PDFtoHTML 9.7.0\PDFtoHTML\Program.cs:line 19_
_ at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)_
_ at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)_
_ at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()_
_ at System.Threading.ThreadHelper.ThreadStart_Context(Object state)_
_ at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)_
_ at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)_
_ at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)_
_ at System.Threading.ThreadHelper.ThreadStart()_
_ InnerException:_
RAM is 8GB , processor is i7
build has been given for
platform target : AnyCPU
prefer 32- bit is also unchecked
i have uploaded the
Uploaded the sample pdf and code
https://ufile.io/b3en9