Exception:没有足够的内存继续执行程序。

报错信息 1
OutOfMemoryException: 没有足够的内存继续执行程序。
StackTrace:
   在 System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
   在 System.Windows.Media.MediaContext.CompleteRender()
   在 System.Windows.Interop.HwndTarget.OnResize()
   在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)

版本:1.40.30 2025-07-05 17:51 Microsoft Windows NT 10.0.26100.0
版本:1.40.30 2025-07-05 12:13 Microsoft Windows NT 10.0.19045.0
版本:1.40.30 2025-07-05 12:13 Microsoft Windows NT 10.0.19045.0
版本:1.40.30 2025-06-29 22:12 Microsoft Windows NT 10.0.19045.0
版本:1.40.30 2025-06-27 01:26 Microsoft Windows NT 10.0.22631.0
版本:1.40.30 2025-06-20 15:57 Microsoft Windows NT 10.0.26100.0
版本:1.40.30 2025-06-18 09:36 Microsoft Windows NT 10.0.19044.0
版本:1.40.30 2025-06-13 10:52 Microsoft Windows NT 10.0.26100.0
版本:1.40.30 2025-06-12 18:45 Microsoft Windows NT 10.0.22000.0
版本:1.40.30 2025-06-12 16:21 Microsoft Windows NT 10.0.22631.0
版本:1.40.30 2025-06-10 09:55 Microsoft Windows NT 10.0.26100.0
报错信息 2
OutOfMemoryException: 没有足够的内存继续执行程序。
StackTrace:
   在 System.Windows.Media.Composition.DUCE.Channel.SyncFlush()
   在 System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)
   在 System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
   在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)

版本:1.40.30 2025-07-04 16:49 Microsoft Windows NT 6.1.7601 Service Pack 1
版本:1.40.30 2025-07-04 16:49 Microsoft Windows NT 6.1.7601 Service Pack 1