Exception:Exception of type 'System.OutOfMemoryException' was thrown.

报错信息 1
OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
StackTrace:
   at MS.Internal.Text.TextInterface.TextAnalyzer.GetGlyphsAndTheirPlacements(UInt16* textString, UInt32 textLength, Font font, UInt16 blankGlyphIndex, Boolean isSideways, Boolean isRightToLeft, CultureInfo cultureInfo, DWriteFontFeature[][] features, UInt32[] featureRangeLengths, Double fontEmSize, Double scalingFactor, Single pixelsPerDip, TextFormattingMode textFormattingMode, ItemProps itemProps, UInt16[]& clusterMap, UInt16[]& glyphIndices, Int32[]& glyphAdvances, GlyphOffset[]& glyphOffsets)
   at MS.Internal.TextFormatting.FormattedTextSymbols..ctor(GlyphingCache glyphingCache, TextRun textSymbols, Boolean rightToLeft, Double scalingFactor, Single pixelsPerDip, TextFormattingMode textFormattingMode, Boolean isSideways)
   at MS.Internal.TextFormatting.TextMetrics.FullTextLine.Collapse(TextCollapsingProperties[] collapsingPropertiesList)
   at MS.Internal.Text.Line.GetCollapsedWidth()
   at System.Windows.Controls.TextBlock.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.40.11 2025-02-19 15:08 Microsoft Windows NT 6.1.7601 Service Pack 1
报错信息 2
OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
StackTrace:
   at HandyControl.Controls.Window.OnLoaded(RoutedEventArgs args)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Interop.HwndTarget.OnResize()
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.39.43 2025-02-10 18:21 Microsoft Windows NT 10.0.19045.0
报错信息 3
OutOfMemoryException
   at System.Windows.Forms.Control.ControlCollection.Add(Control value)
   at System.Windows.Forms.Form.ControlCollection.Add(Control value)
   at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   at System.Windows.Forms.Control.WndProcException(Exception e)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
版本:1.37.15 2025-02-07 15:29 Microsoft Windows NT 10.0.19045.0