Exception:引发类型为“System.OutOfMemoryException”的异常。

报错信息 1
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 System.Threading.Tasks.Task.GetExceptionDispatchInfos()
   在 System.Threading.Tasks.UnwrapPromise`1.TrySetFromTask(Task task, Boolean lookForOce)
   在 System.Threading.Tasks.UnwrapPromise`1.ProcessInnerTask(Task task)
   在 System.Threading.Tasks.UnwrapPromise`1.ProcessCompletedOuterTask(Task task)
   在 System.Threading.Tasks.UnwrapPromise`1.Invoke(Task completingTask)
   在 System.Threading.Tasks.Task.FinishContinuations()
   在 System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
   在 System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   在 System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

版本:1.40.30 2024-04-17 16:21 Microsoft Windows NT 10.0.19042.0
报错信息 2
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 System.Windows.Input.StylusWisp.WispLogic.OnScreenMeasurementsChanged()
   在 System.Windows.Input.StylusWisp.WispLogic.HandleMessage(WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.SystemResources.InvalidateTabletDevices(WindowMessage msg, IntPtr wParam, IntPtr lParam)
   在 System.Windows.SystemResources.SystemThemeFilterMessage(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)
   在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

版本:1.40.30 2024-04-17 14:19 Microsoft Windows NT 10.0.19045.0
报错信息 3
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
   在 MS.Win32.Penimc.IPimcTablet2.CreateContext(IntPtr handle, Boolean fEnable, UInt32 timeout, IPimcContext2& IPimcContext, Int32& key, Int64& commHandle)
   在 System.Windows.Input.PenThreadWorker.WorkerOperationCreateContext.OnDoWork()
   在 System.Windows.Input.PenThreadWorker.WorkerOperation.DoWork()
   在 System.Windows.Input.PenThreadWorker.ThreadProc()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

版本:1.40.30 2024-04-12 18:25 Microsoft Windows NT 10.0.22631.0
报错信息 4
OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
StackTrace:
   在 VvWgcHBUsDq5qsJF8P9.ujqjcYBRWrddYB2sMKE.XbZkBUiqRN(Exception  )
   在 VvWgcHBUsDq5qsJF8P9.ujqjcYBRWrddYB2sMKE.yQukX5I9sL(Object  , DispatcherUnhandledExceptionEventArgs  )
   在 System.Windows.Threading.Dispatcher.CatchException(Exception e)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

版本:1.40.30 2024-04-08 11:15 Microsoft Windows NT 10.0.22621.0