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.22 2025-06-12 20:53 Microsoft Windows NT 10.0.22631.0
版本:1.40.22 2025-06-09 13:50 Microsoft Windows NT 10.0.22631.0
版本:1.40.22 2025-06-09 12:36 Microsoft Windows NT 10.0.22631.0
版本:1.40.22 2025-05-30 10:18 Microsoft Windows NT 10.0.19042.0
版本:1.40.22 2025-05-30 09:59 Microsoft Windows NT 10.0.18363.0
版本:1.40.22 2025-05-29 15:50 Microsoft Windows NT 10.0.26100.0
版本:1.40.22 2025-05-23 11:00 Microsoft Windows NT 10.0.19042.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.22 2025-06-09 19:47 Microsoft Windows NT 10.0.22631.0