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-09-01 04:26 Microsoft Windows NT 6.1.7601 Service Pack 1
版本:1.40.30 2025-08-31 12:33 Microsoft Windows NT 10.0.22000.0
版本:1.40.30 2025-08-27 17:47 Microsoft Windows NT 10.0.26100.0
版本:1.40.30 2025-08-10 18:38 Microsoft Windows NT 10.0.26100.0
版本:1.40.30 2025-08-07 14:24 Microsoft Windows NT 10.0.19045.0
版本:1.40.30 2025-08-05 09:54 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-08-13 07:51 Microsoft Windows NT 10.0.19045.0