Title: Angular 7/8 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory · Issue #13734 · angular/angular-cli · GitHub
Open Graph Title: Angular 7/8 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory · Issue #13734 · angular/angular-cli
X Title: Angular 7/8 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory · Issue #13734 · angular/angular-cli
Description: 🐞 Bug report Command (mark with an x) - [ ] new - [X] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Description With the last...
Open Graph Description: 🐞 Bug report Command (mark with an x) - [ ] new - [X] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
X Description: 🐞 Bug report Command (mark with an x) - [ ] new - [X] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver...
Opengraph URL: https://github.com/angular/angular-cli/issues/13734
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular 7/8 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory","articleBody":"# 🐞 Bug report\r\n\r\n### Command (mark with an `x`)\r\n\u003c!-- Can you pin-point the command or commands that are effected by this bug? --\u003e\r\n\u003c!-- ✍️edit: --\u003e\r\n```\r\n- [ ] new\r\n- [X] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Description\r\n\r\nWith the last merge project build process is not working. I get failure that is pasted below. \r\nTried to change --max-old-space-size=4096 still not working. \r\nAny suggestions what this can be ?\r\n\r\n## 🔬 Minimal Reproduction\r\nrun command `ng build --prod`\r\nin angular.json file we have \r\n```\r\n\"production\": {\r\n\t\"optimization\": true,\r\n\t\"outputHashing\": \"all\",\r\n\t\"sourceMap\": false,\r\n\t\"extractCss\": true,\r\n\t\"namedChunks\": false,\r\n\t\"aot\": true,\r\n\t\"extractLicenses\": true,\r\n\t\"vendorChunk\": false,\r\n\t\"buildOptimizer\": true,\r\n\t\"fileReplacements\": [\r\n\t{\r\n\t\t\"replace\": \"src/environments/environment.ts\",\r\n\t\t\"with\": \"src/environments/environment.prod.ts\"\r\n\t}\r\n\t]\r\n},\r\n```\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\n\r\nPlease include: commands run (including args), packages added, related code changes.\r\n\r\nIf reproduction steps are not enough for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue. Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.\r\n\r\nIssues that don't have enough info and can't be reproduced will be closed.\r\n\r\nYou can read more about issue submission guidelines here: https://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#-submitting-an-issue\r\n--\u003e\r\n\r\n## 🔥 Exception or Error\r\nHere is the log file.\r\n```\r\n{ Error: Command failed: ng build --prod --configuration=config --output-path=test --base-href=/test/\r\nFATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory\r\n 1: 0x8dbaa0 node::Abort() [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 2: 0x8dbaec [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 3: 0xad83de v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 4: 0xad8614 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 5: 0xec5c42 [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 6: 0xec5d48 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 7: 0xed1e22 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 8: 0xed2754 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n 9: 0xed53c1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n10: 0xe9d636 [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n11: 0xeafee7 v8::internal::Factory::NewLoadHandler(int) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n12: 0xf2f4db v8::internal::LoadHandler::LoadFromPrototype(v8::internal::Isolate*, v8::internal::Handle\u003cv8::internal::Map\u003e, v8::internal::Handle\u003cv8::internal::JSReceiver\u003e, v8::internal::Handle\u003cv8::internal::Smi\u003e, v8::internal::MaybeHandle\u003cv8::internal::Object\u003e, v8::internal::MaybeHandle\u003cv8::internal::Object\u003e) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n13: 0xf36d1f v8::internal::LoadIC::ComputeHandler(v8::internal::LookupIterator*) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n14: 0xf3d94c v8::internal::LoadIC::UpdateCaches(v8::internal::LookupIterator*) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n15: 0xf3dffc v8::internal::LoadIC::Load(v8::internal::Handle\u003cv8::internal::Object\u003e, v8::internal::Handle\u003cv8::internal::Name\u003e) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n16: 0xf42935 v8::internal::Runtime_LoadIC_Miss(int, v8::internal::Object**, v8::internal::Isolate*) [ng build --prod --configuration=config --output-path=test --base-href=/test/]\r\n17: 0x235e3925be1d\r\n```\r\n\r\n## 🌍 Your Environment\r\n\u003cpre\u003e\u003ccode\u003e\r\nAngular CLI: 7.3.1\r\nNode: 10.15.1\r\nOS: linux x64\r\nAngular: 7.2.6\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, platform-browser, platform-browser-dynamic, router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.13.2\r\n@angular-devkit/build-angular 0.13.2\r\n@angular-devkit/build-optimizer 0.13.2\r\n@angular-devkit/build-webpack 0.13.2\r\n@angular-devkit/core 7.3.2\r\n@angular-devkit/schematics 7.3.1\r\n@angular/cdk 7.3.3\r\n@angular/cli 7.3.1\r\n@ngtools/webpack 7.3.2\r\n@schematics/angular 7.3.1\r\n@schematics/update 0.13.1\r\nrxjs 6.4.0\r\ntypescript 3.1.6\r\nwebpack 4.29.0\r\n\r\n\u003c/code\u003e\u003c/pre\u003e\r\n","author":{"url":"https://github.com/arayik-yervandyan","@type":"Person","name":"arayik-yervandyan"},"datePublished":"2019-02-21T13:05:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":205},"url":"https://github.com/13734/angular-cli/issues/13734"}
| 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:f09562b9-43da-c2ec-f861-750ac8ced2cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B082:1B30D4:D46C89:125154E:696A8B25 |
| html-safe-nonce | 1ad825eea3f473a9eee0cbbc06830edaca995517ef416a1e92a14772640ef8d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDgyOjFCMzBENDpENDZDODk6MTI1MTU0RTo2OTZBOEIyNSIsInZpc2l0b3JfaWQiOiI4NzM5NTM2MTQ3Mjk4NTUyNjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4f813f2444250ab75e49a15365cf627b3be180a286935d1369bd40cee16d45c1 |
| hovercard-subject-tag | issue:412914621 |
| 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/13734/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b31d18032516da770b23fc008ee2d8befb493003ba67ba521b5076bfc65209d/angular/angular-cli/issues/13734 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b31d18032516da770b23fc008ee2d8befb493003ba67ba521b5076bfc65209d/angular/angular-cli/issues/13734 |
| og:image:alt | 🐞 Bug report Command (mark with an x) - [ ] new - [X] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] ver... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arayik-yervandyan |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| 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 | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width