dotnet / dotnet/source-indexer

OutOfMemoryException while processing some projects

Open
#117 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
55
Forks
46
Avg merge
23h 42m
Merged PRs (30d)
15

Description

>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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.