OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。 StackTrace: 在 System.Windows.Documents.TextContainer.InsertElementInternal(TextPointer startPosition, TextPointer endPosition, TextElement element) 在 System.Windows.Documents.TextElement.RepositionWithContent(TextPointer textPosition) 在 System.Windows.Documents.TextElementCollection`1.Add(TextElementType item) 在 System.Windows.Documents.TextElementCollection`1.OnAdd(Object value) 在 System.Windows.Documents.InlineCollection.AddUIElement(UIElement uiElement, Boolean returnIndex) 在 System.Windows.Documents.InlineCollection.OnAdd(Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.Add(Object collection, XamlType collectionType, Object value, XamlType valueXamlType) 在 System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentCollection(ObjectWriterContext ctx) 在 System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(ObjectWriterContext ctx) 在 System.Xaml.XamlObjectWriter.WriteStartMember(XamlMember property) 在 System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector) 在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) 在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) 在 Quicker.View.UnhandledExceptionWindow.InitializeComponent() 在 Quicker.View.UnhandledExceptionWindow..ctor(Exception ex, Boolean canIgnore) 在 Quicker.App.<>c__DisplayClass27_0.kMq9LFvhQ5B() 在 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)