Title: High memory usage on serve · Issue #8254 · angular/angular-cli · GitHub
Open Graph Title: High memory usage on serve · Issue #8254 · angular/angular-cli
X Title: High memory usage on serve · Issue #8254 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request I noticed a high memory usage using the last version of CLI when runningng serve. It starts with a normal amo...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request I noticed a high memory usage using the last version of CLI when runn...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request I noticed a high memory usage using the last version of CLI when r...
Opengraph URL: https://github.com/angular/angular-cli/issues/8254
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"High memory usage on serve","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\nI noticed a high memory usage using the last version of CLI when running`ng serve`. It starts with a normal amount of memory allocated. And then for every change made to the project files, it seems that the previous memory allocated for the build is not freed and the memory keeps growing until I have to stop the process and start again.\r\n\r\n### Versions.\r\n```\r\nAngular CLI: 1.5.0-rc.6\r\nNode: 7.6.0\r\nOS: win32 x64\r\nAngular: 5.0.0-rc.8\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, platform-browser, platform-browser-dynamic, router\r\n\r\n@angular/cdk: 2.0.0-beta.12\r\n@angular/cli: 1.5.0-rc.6\r\n@angular/flex-layout: 2.0.0-beta.9\r\n@angular/material: 2.0.0-beta.12\r\n@angular-devkit/build-optimizer: 0.0.31\r\n@angular-devkit/core: 0.0.20\r\n@angular-devkit/schematics: 0.0.34\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.8.0-rc.6\r\n@schematics/angular: 0.0.48\r\ntypescript: 2.5.3\r\nwebpack: 3.8.1\r\n```\r\n\r\n\u003c!--\r\nOutput from: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\n\r\n\r\n### Repro steps.\r\nI would need to try on a new generated project if it does the same thing.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n\r\n\r\n### The log given by the failure.\r\n\r\nHere is 2.6G of RAM allocated for the `serve` process.\r\n\r\n\r\n\r\nAnd 5 minutes after\r\n\r\n\r\n\r\n\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n\r\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\n\r\n","author":{"url":"https://github.com/fknop","@type":"Person","name":"fknop"},"datePublished":"2017-10-30T21:23:26Z","url":"https://github.com/angular/angular-cli/issues/8254"}
| 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:9a49e898-970c-86d2-3aa1-be38e4015e94 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E92:4279A:27200B7:34A897A:6B01C05F |
| html-safe-nonce | cbd930414e3a5373082bd92aaaee08f497e58055c975cf2b5856ae6d4dc3c833 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTkyOjQyNzlBOjI3MjAwQjc6MzRBODk3QTo2QjAxQzA1RiIsInZpc2l0b3JfaWQiOiIxNzkwMTg0MzkyNzI4MTAwOTU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1b05f58ba50c88ecc5eaed426b12f7dccbeb8ea0bd062195edd987d62e7fb161 |
| hovercard-subject-tag | issue:269759068 |
| 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/angular/angular-cli/8254/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f328ad572f838168e6d64854b388e600ffd44b3612fdf9ec3e3b93d15775cca3/angular/angular-cli/issues/8254 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f328ad572f838168e6d64854b388e600ffd44b3612fdf9ec3e3b93d15775cca3/angular/angular-cli/issues/8254 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request I noticed a high memory usage using the last version of CLI when runn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fknop |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width