René's URL Explorer Experiment


Title: Editor Services memory consumption is large due to Script Analyzer · Issue #269 · PowerShell/PowerShellEditorServices · GitHub

Open Graph Title: Editor Services memory consumption is large due to Script Analyzer · Issue #269 · PowerShell/PowerShellEditorServices

X Title: Editor Services memory consumption is large due to Script Analyzer · Issue #269 · PowerShell/PowerShellEditorServices

Description: I'm not sure if this existed previous to 0.6.2 but given the small number of changes to 0.6.2, it must have. Anyway, while working on Plaster in VSCode today I noticed that the PSES language server process was consuming ~278 MB! I create...

Open Graph Description: I'm not sure if this existed previous to 0.6.2 but given the small number of changes to 0.6.2, it must have. Anyway, while working on Plaster in VSCode today I noticed that the PSES language server...

X Description: I'm not sure if this existed previous to 0.6.2 but given the small number of changes to 0.6.2, it must have. Anyway, while working on Plaster in VSCode today I noticed that the PSES language se...

Opengraph URL: https://github.com/PowerShell/PowerShellEditorServices/issues/269

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Editor Services memory consumption is large due to Script Analyzer","articleBody":"I'm not sure if this existed previous to 0.6.2 but given the small number of changes to 0.6.2, it must have. Anyway, while working on Plaster in VSCode today I noticed that the PSES language server process was consuming ~278 MB!  I created a dump file and loaded it into 2015 to analyze the managed memory.  This is what I see:\n\n![pses-memory-hog](https://cloud.githubusercontent.com/assets/5177512/17645942/be3e19a2-6171-11e6-93b9-5c13520580d4.PNG)\n\nIf I burrow into the PSSA helper class I see:\n\n![pses-pssa-mem-hog](https://cloud.githubusercontent.com/assets/5177512/17645962/bdd1b914-6172-11e6-8635-0ca85f738344.png)\n\nNote that helper is a static, so it will never get collected and anything it has a reference to will never get collected on down the line.  Looking inside it, we see that it is holding onto a **lot** of AST:\n\n![pses-helper-mem-hog](https://cloud.githubusercontent.com/assets/5177512/17645981/57e67198-6173-11e6-9a52-ab29daeb6c2e.PNG)\n\nThe DMP file is about 610 MB and I could make it available via my OneDrive account but I suspect you could recreate it pretty easily.  I'm on VSCode 1.4.0, Windows 10 1607 and PSSA 1.5.0.\n","author":{"url":"https://github.com/rkeithhill","@type":"Person","name":"rkeithhill"},"datePublished":"2016-08-13T22:32:43Z","url":"https://github.com/PowerShell/PowerShellEditorServices/issues/269"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0b68e114-2e91-a8f4-c7f4-3e3cd09dfa42
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id87B2:19E497:65230:85C40:6AFD0B4E
html-safe-nonce0cc4a4c9035e50964ededddcb5d5aebd20ae850271f29e0c0f68759f78eef2e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0IyOjE5RTQ5Nzo2NTIzMDo4NUM0MDo2QUZEMEI0RSIsInZpc2l0b3JfaWQiOiI1NjQ4MDgzMjYyNDk3NDI2MjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac26943891179971c3f2bbaadd65f3a7d14a539162fc29274d143dd8b3bd621fe9
hovercard-subject-tagissue:171031087
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShellEditorServices/269/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b9c4082110bc0f0d48226a222dbd48fef9b684bb9a77421cec81ac0c20e4bfac/PowerShell/PowerShellEditorServices/issues/269
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b9c4082110bc0f0d48226a222dbd48fef9b684bb9a77421cec81ac0c20e4bfac/PowerShell/PowerShellEditorServices/issues/269
og:image:altI'm not sure if this existed previous to 0.6.2 but given the small number of changes to 0.6.2, it must have. Anyway, while working on Plaster in VSCode today I noticed that the PSES language server...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerkeithhill
hostnamegithub.com
expected-hostnamegithub.com
Noneb29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShellEditorServices git https://github.com/PowerShell/PowerShellEditorServices.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id36031537
octolytics-dimension-repository_nwoPowerShell/PowerShellEditorServices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36031537
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShellEditorServices
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c9e619def6d670dc18a45d3b02cea938c1c7e47
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShellEditorServices/issues/269#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F269
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F269
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShellEditorServices
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/269
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/269
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/269
PowerShellhttps://github.com/PowerShell
PowerShellEditorServiceshttps://github.com/PowerShell/PowerShellEditorServices
Codehttps://github.com/PowerShell/PowerShellEditorServices
Issues126 (126)https://github.com/PowerShell/PowerShellEditorServices/issues
Pull requests19 (19)https://github.com/PowerShell/PowerShellEditorServices/pulls
Actionshttps://github.com/PowerShell/PowerShellEditorServices/actions
Security and qualityhttps://github.com/PowerShell/PowerShellEditorServices/security
Insightshttps://github.com/PowerShell/PowerShellEditorServices/insights
https://github.com/PowerShell/PowerShellEditorServices
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/269
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/269
Editor Services memory consumption is large due to Script Analyzerhttps://github.com/PowerShell/PowerShellEditorServices/issues/269#top
https://github.com/rkeithhill
Keith Hill (rkeithhill)https://github.com/rkeithhill
on Aug 13, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#issue-171031087
https://cloud.githubusercontent.com/assets/5177512/17645942/be3e19a2-6171-11e6-93b9-5c13520580d4.PNG
https://cloud.githubusercontent.com/assets/5177512/17645962/bdd1b914-6172-11e6-8635-0ca85f738344.png
https://cloud.githubusercontent.com/assets/5177512/17645981/57e67198-6173-11e6-9a52-ab29daeb6c2e.PNG
https://github.com/daviwil
David Wilson (daviwil)https://github.com/daviwil
on Aug 15, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#issuecomment-239923722
Kapil Borle (@kapilmb)https://github.com/kapilmb
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
on Aug 15, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#issuecomment-239927362
VariableAnalysis classhttps://github.com/PowerShell/PSScriptAnalyzer/blob/development/Engine/VariableAnalysis.cs
https://github.com/daviwil
David Wilson (daviwil)https://github.com/daviwil
on Aug 15, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#issuecomment-239930731
David Wilson (daviwil)https://github.com/daviwil
on Aug 15, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#event-756217956
https://github.com/kapilmb
Kapil Borle (kapilmb)https://github.com/kapilmb
on Nov 18, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#issuecomment-261462682
Kapil Borle (kapilmb)https://github.com/kapilmb
completedhttps://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 18, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#event-863945885
Kapil Borle (kapilmb)https://github.com/kapilmb
on Nov 18, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#event-863945926
Kapil Borle (kapilmb)https://github.com/kapilmb
completedhttps://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 18, 2016https://github.com/PowerShell/PowerShellEditorServices/issues/269#event-863946073
TylerLeonhardthttps://github.com/TylerLeonhardt
on Feb 26, 2019https://github.com/PowerShell/PowerShellEditorServices/issues/269#event-2165492580
Merge pull request PowerShell#269 from pcgeek86/patch-1https://github.com/TylerLeonhardt/PowerShellEditorServices/commit/40d8da179e0230b5d71e4cf32715b84d19619e08
PowerShell#269https://github.com/PowerShell/PowerShellEditorServices/issues/269
40d8da1https://github.com/TylerLeonhardt/PowerShellEditorServices/commit/40d8da179e0230b5d71e4cf32715b84d19619e08
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/269
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/269
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.