Skip to content

OutOfMemoryException while processing some projects #117

@AndriySvyryd

Description

@AndriySvyryd

Exception during Project file generation: D:\a_work\1\s\bin\repo\winforms\src\System.Windows.Forms.Design\src\System.Windows.Forms.Design.csproj
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.Substring(Int32 startIndex, Int32 length)
at Microsoft.SourceBrowser.HtmlGenerator.XmlSupport.<>c__DisplayClass10_1.b__1(Int32 start, Int32 length, SyntaxNode node, XmlClassificationTypes classification) in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\XmlSupport.cs:line 84
at Microsoft.Language.Xml.ClassifierVisitor.Visit(SyntaxNode node, Int32 windowStart, Int32 windowLength, Action`4 resultCollector)
at Microsoft.SourceBrowser.HtmlGenerator.XmlSupport.GetHtml(String sourceXmlFilePath, String destinationHtmlFilePath, String displayName) in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\XmlSupport.cs:line 77
at Microsoft.SourceBrowser.HtmlGenerator.XmlSupport.Generate(String sourceXmlFilePath, String destinationHtmlFilePath, String displayName) in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\XmlSupport.cs:line 34
at Microsoft.SourceBrowser.HtmlGenerator.ProjectGenerator.GenerateXmlFile(String filePath) in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\ProjectGenerator.ProjectFile.cs:line 120
at Microsoft.SourceBrowser.HtmlGenerator.ProjectGenerator.GenerateXmlFilesOfProjectItemType(Project msbuildProject, String itemType) in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\ProjectGenerator.ProjectFile.cs:line 100
at Microsoft.SourceBrowser.HtmlGenerator.ProjectGenerator.GenerateResxFiles(Project msbuildProject) in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\ProjectGenerator.ProjectFile.cs:line 91
at Microsoft.SourceBrowser.HtmlGenerator.ProjectGenerator.GenerateProjectFile() in D:\a_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\ProjectGenerator.ProjectFile.cs:line 50

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions