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

报错信息 1
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 ERlkD4EP5hhgLi3YgQm.CUvJwMEWeYgTUs9ibF2.Rw108PoMuB(Exception  )
   在 ERlkD4EP5hhgLi3YgQm.CUvJwMEWeYgTUs9ibF2.sIp093NeMk(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.23 2025-08-19 17:47 Microsoft Windows NT 10.0.19045.0
版本:1.40.23 2025-08-05 14:57 Microsoft Windows NT 10.0.26100.0
报错信息 2
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 System.Windows.SystemParameters.InvalidateCache(Int32 param)
   在 System.Windows.SystemResources.SystemThemeFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 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.23 2025-08-06 07:30 Microsoft Windows NT 10.0.17763.0