Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemoryException while processing some projects #117

Open
AndriySvyryd opened this issue Mar 31, 2023 · 0 comments
Open

OutOfMemoryException while processing some projects #117

AndriySvyryd opened this issue Mar 31, 2023 · 0 comments

Comments

@AndriySvyryd
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant