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

报错信息 1
OutOfMemoryException
   在 System.Windows.Media.Composition.DUCE.Channel.CreateOrAddRefOnChannel(Object instance, ResourceHandle& handle, ResourceType resourceType)
   在 System.Windows.Media.CompositionTarget.CreateUCEResources(Channel channel, Channel outOfBandChannel)
   在 System.Windows.Interop.HwndTarget.CreateUCEResources(Channel channel, Channel outOfBandChannel)
   在 System.Windows.Media.MediaContext.RegisterICompositionTargetInternal(ICompositionTarget iv)
   在 System.Windows.Interop.HwndTarget..ctor(IntPtr hwnd)
   在 System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
   在 System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   在 System.Windows.Window.ShowHelper(Object booleanBox)
   在 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.29.3 2025-11-28 16:20 Microsoft Windows NT 10.0.19045.0