Title: foreach-object Memory usage · Issue #12263 · PowerShell/PowerShell · GitHub
Open Graph Title: foreach-object Memory usage · Issue #12263 · PowerShell/PowerShell
X Title: foreach-object Memory usage · Issue #12263 · PowerShell/PowerShell
Description: Steps to reproduce Eventually it was killed 10..60000|foreach-object -ThrottleLimit 15 -parallel { if(Test-Connection “127.0.0.1” -TcpPort $_ -TimeoutSeconds 1){ “$ip listening to port $_” } } Expected behavior Actual behavior Environmen...
Open Graph Description: Steps to reproduce Eventually it was killed 10..60000|foreach-object -ThrottleLimit 15 -parallel { if(Test-Connection “127.0.0.1” -TcpPort $_ -TimeoutSeconds 1){ “$ip listening to port $_” } } Expe...
X Description: Steps to reproduce Eventually it was killed 10..60000|foreach-object -ThrottleLimit 15 -parallel { if(Test-Connection “127.0.0.1” -TcpPort $_ -TimeoutSeconds 1){ “$ip listening to port $_” } } Expe...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/12263
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"foreach-object Memory usage","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 and PowerShell 7+ issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\nEventually it was killed\r\n```powershell\r\n10..60000|foreach-object -ThrottleLimit 15 -parallel {\r\nif(Test-Connection “127.0.0.1” -TcpPort $_ -TimeoutSeconds 1){\r\n“$ip listening to port $_”\r\n}\r\n}\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\n\r\n```\r\n\r\n# Actual behavior\r\n\r\n\r\n```none\r\n\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\nPSVersion 7.1.0-preview.1\r\nPSEdition Core\r\nGitCommitId 7.1.0-preview.1\r\nOS Linux 3.10.0-1062.18.1.el7.x86_64 … Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/he852100","@type":"Person","name":"he852100"},"datePublished":"2020-04-06T07:35:54Z","url":"https://github.com/PowerShell/PowerShell/issues/12263"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:054bfa89-a093-122d-5283-fd3401c84b87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9788:EEA73:80C2E:B7732:6AFDEE98 |
| html-safe-nonce | 541a8aae86fb5a8e28863eec785a0cf9765df1511c7a7c7f53f648d0b7e3cebc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Nzg4OkVFQTczOjgwQzJFOkI3NzMyOjZBRkRFRTk4IiwidmlzaXRvcl9pZCI6IjIzOTE4Nzk4NTYwMTE3MzQ2ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 23d6cf53dd5346a089f942635fad73f4e56b97148bf62a3148acab090d91f06a |
| hovercard-subject-tag | issue:594875233 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/12263/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1b3184c8280fdf8509d60552b485eabae164da2d1863568aebff243ea1da67e/PowerShell/PowerShell/issues/12263 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1b3184c8280fdf8509d60552b485eabae164da2d1863568aebff243ea1da67e/PowerShell/PowerShell/issues/12263 |
| og:image:alt | Steps to reproduce Eventually it was killed 10..60000|foreach-object -ThrottleLimit 15 -parallel { if(Test-Connection “127.0.0.1” -TcpPort $_ -TimeoutSeconds 1){ “$ip listening to port $_” } } Expe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | he852100 |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd812ec581ecac95855f5ec917ef9827506c39a9da1443f43ddb4179a46471eb |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32ac708bac264dafdc28e10ff49b4d137f0c34a7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width