Exception:引发类型为“System.OutOfMemoryException”的异常。

报错信息 1
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 hm3ha5WCekYc14W1TY4.qNMt5pWF9X0rElygjbM.gw5bp3eSIC(Exception  )
   在 hm3ha5WCekYc14W1TY4.qNMt5pWF9X0rElygjbM.j3kbSaNVmJ(Object  , DispatcherUnhandledExceptionEventArgs  )
   在 System.Windows.Threading.Dispatcher.CatchException(Exception e)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

版本:1.40.22 2025-06-09 19:47 Microsoft Windows NT 10.0.22631.0
报错信息 2
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 System.Diagnostics.TraceSource.Flush()
   在 System.Transactions.Diagnostics.DiagnosticTrace.ShutdownTracing()

版本:1.40.22 2025-05-22 15:48 Microsoft Windows NT 10.0.18363.0