Exception:内存资源不足,无法处理此命令。

报错信息 1
Win32Exception: 内存资源不足,无法处理此命令。
--NativeErrorCode: 8
StackTrace:
   在 Standard.NativeMethods.CreateRoundRectRgn(Int32 nLeftRect, Int32 nTopRect, Int32 nRightRect, Int32 nBottomRect, Int32 nWidthEllipse, Int32 nHeightEllipse)
   在 System.Windows.Shell.WindowChromeWorker._CreateRoundRectRgn(Rect region, Double radius)
   在 System.Windows.Shell.WindowChromeWorker._SetRoundingRegion(Nullable`1 wp)
   在 System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   在 System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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.43.29 2025-07-01 20:42 Microsoft Windows NT 10.0.26100.0