René's URL Explorer Experiment


Title: Build fails with JavaScript heap out of memory · Issue #12645 · angular/angular-cli · GitHub

Open Graph Title: Build fails with JavaScript heap out of memory · Issue #12645 · angular/angular-cli

X Title: Build fails with JavaScript heap out of memory · Issue #12645 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test...

X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] t...

Opengraph URL: https://github.com/angular/angular-cli/issues/12645

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build fails with JavaScript heap out of memory","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\n### Command (mark with an `x`)\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### Versions\r\n\u003c!--\r\nOutput from: `node --version`, `npm --version` and `ng --version`.\r\n  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra? High Sierra?)\r\n-->\r\nnpm 6.4.1\r\nyarn 1.9.4\r\nAngular CLI: 7.0.1\r\nNode: 8.12.0\r\nOS: darwin x64\r\nAngular: 7.0.0\r\n... animations, cdk, common, compiler, compiler-cli, core, forms\r\n... http, language-service, material, material-moment-adapter\r\n... platform-browser, platform-browser-dynamic, platform-server\r\n... router, service-worker\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.10.1\r\n@angular-devkit/build-angular     0.10.1\r\n@angular-devkit/build-optimizer   0.10.1\r\n@angular-devkit/build-webpack     0.10.1\r\n@angular-devkit/core              7.0.1\r\n@angular-devkit/schematics        7.0.1\r\n@angular/cli                      7.0.1\r\n@angular/pwa                      0.10.1\r\n@ngtools/webpack                  7.0.1\r\n@schematics/angular               7.0.1\r\n@schematics/update                0.10.1\r\nrxjs                              6.3.3\r\ntypescript                        3.1.3\r\nwebpack                           4.19.1\r\n\r\n### Repro steps\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run (incl args), packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\nrun ng build client --prod\r\n\r\n### The log given by the failure\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n```\r\n92% chunk asset optimization TerserPlugin\r\n\u003c--- Last few GCs --->\r\n\r\n[6911:0x102801e00]   224585 ms: Mark-sweep 1318.9 (1444.5) -> 1318.9 (1444.5) MB, 1195.0 / 0.0 ms  allocation failure GC in old space requested\r\n[6911:0x102801e00]   225921 ms: Mark-sweep 1318.9 (1444.5) -> 1318.9 (1429.5) MB, 1336.0 / 0.0 ms  last resort GC in old space requested\r\n[6911:0x102801e00]   227268 ms: Mark-sweep 1318.9 (1429.5) -> 1318.9 (1429.5) MB, 1347.5 / 0.0 ms  last resort GC in old space requested\r\n\r\n\r\n\u003c--- JS stacktrace --->\r\n\r\n==== JS stack trace =========================================\r\n\r\nSecurity context: 0x130c21da5879 \u003cJSObject>\r\n    1: /* anonymous */ [/node_modules/source-map/lib/source-node.js:~342] [pc=0xa501c16fd08](this=0x130cfc80c2f1 \u003cJSGlobal Object>,chunk=0x130c584834b1 \u003cString[1]: .>,original=0x130cc679e159 \u003cObject map = 0x130cb6748611>)\r\n    2: SourceNode_walk [/node_modules/source-map/lib/source-node.js:~221] [pc=0xa501c57db1e](t...\r\n\r\nFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\r\n 1: node::Abort() [/usr/local/bin/node]\r\n 2: node::FatalException(v8::Isolate*, v8::Local\u003cv8::Value>, v8::Local\u003cv8::Message>) [/usr/local/bin/node]\r\n 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/local/bin/node]\r\n 4: v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/local/bin/node]\r\n 5: v8::internal::(anonymous namespace)::ElementsAccessorBase\u003cv8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits\u003c(v8::internal::ElementsKind)2> >::GrowCapacity(v8::internal::Handle\u003cv8::internal::JSObject>, unsigned int) [/usr/local/bin/node]\r\n 6: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]\r\n 7: 0xa501a5042fd\r\nerror Command failed with signal \"SIGABRT\".\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\nv6 doesn't have any issue building the same app.\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\nI can't shared any code as it's a big client project, and I suspect it the size that's causing the issue as basic apps build ok.","author":{"url":"https://github.com/dottodot","@type":"Person","name":"dottodot"},"datePublished":"2018-10-19T09:06:33Z","url":"https://github.com/angular/angular-cli/issues/12645"}

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:ace51529-c00b-6e70-026f-6ca7eeb17859
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB400:3A4875:145C390:1B1A934:6B012E1C
html-safe-nonce0e6c426f31dca641fb388ddc30fbe85f215d310fb842ff338f66a53db29e7854
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDAwOjNBNDg3NToxNDVDMzkwOjFCMUE5MzQ6NkIwMTJFMUMiLCJ2aXNpdG9yX2lkIjoiNzQ5NDI0MTkwMDYxNDk4NzI5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5ff64ed5a6bcc583f4aea8a39b44b61b8d0833f022c85a2994ff9f5ba90f877f
hovercard-subject-tagissue:371869236
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/angular/angular-cli/12645/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5b7c430c6090a8ed5848cc31bfb7b8e06cf3c2893028ab3252ea82f0f7a01fb3/angular/angular-cli/issues/12645
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5b7c430c6090a8ed5848cc31bfb7b8e06cf3c2893028ab3252ea82f0f7a01fb3/angular/angular-cli/issues/12645
og:image:altBug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Command (mark with an x) - [ ] new - [x] build - [ ] serve - [ ] test...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedottodot
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/12645#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F12645
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%2Fangular%2Fangular-cli%2Fissues%2F12645
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=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/12645
Reloadhttps://github.com/angular/angular-cli/issues/12645
Reloadhttps://github.com/angular/angular-cli/issues/12645
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12645
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12645
Build fails with JavaScript heap out of memoryhttps://github.com/angular/angular-cli/issues/12645#top
https://github.com/dottodot
dottodothttps://github.com/dottodot
on Oct 19, 2018https://github.com/angular/angular-cli/issues/12645#issue-371869236
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Oct 19, 2018https://github.com/angular/angular-cli/issues/12645#issuecomment-431311378
#12646https://github.com/angular/angular-cli/issues/12646
#5618https://github.com/angular/angular-cli/issues/5618
#5618 (comment)https://github.com/angular/angular-cli/issues/5618#issuecomment-431310735
#12646https://github.com/angular/angular-cli/issues/12646
filipesilvahttps://github.com/filipesilva
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 19, 2018https://github.com/angular/angular-cli/issues/12645#event-1914361791
https://github.com/dottodot
dottodothttps://github.com/dottodot
on Oct 19, 2018https://github.com/angular/angular-cli/issues/12645#issuecomment-431323670
https://github.com/joachim-bl
joachim-blhttps://github.com/joachim-bl
on Oct 23, 2018https://github.com/angular/angular-cli/issues/12645#issuecomment-432131525
https://github.com/kartik1195
kartik1195https://github.com/kartik1195
on Mar 27, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-477139090
https://github.com/Dev-Pawar
Dev-Pawarhttps://github.com/Dev-Pawar
on Apr 12, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-482451837
https://github.com/bharat-banavalikar
bharat-banavalikarhttps://github.com/bharat-banavalikar
on Apr 24, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-486072558
https://github.com/ramsunvtech
ramsunvtechhttps://github.com/ramsunvtech
on Aug 13, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-520884520
https://github.com/quincarter
quincarterhttps://github.com/quincarter
on Aug 30, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-526669186
https://github.com/janstadt
janstadthttps://github.com/janstadt
on Sep 5, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-528393344
https://github.com/clydin
clydinhttps://github.com/clydin
on Sep 5, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-528400644
https://github.com/janstadt
janstadthttps://github.com/janstadt
on Sep 5, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-528408123
@clydinhttps://github.com/clydin
https://github.com/renyuns
renyunshttps://github.com/renyuns
on Sep 10, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-529805867
https://github.com/demisx
demisxhttps://github.com/demisx
on Sep 25, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-534805647
https://github.com/zhangwk02
zhangwk02https://github.com/zhangwk02
on Sep 26, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-535344792
https://github.com/denysvitali
denysvitalihttps://github.com/denysvitali
on Sep 26, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-535366732
https://github.com/demisx
demisxhttps://github.com/demisx
on Sep 30, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-536786478
https://github.com/kbpontius
kbpontiushttps://github.com/kbpontius
on Oct 1, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-537148425
https://github.com/zhangwk02
zhangwk02https://github.com/zhangwk02
on Oct 2, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-537470262
…https://github.com/angular/angular-cli/issues/12645
#12645https://github.com/angular/angular-cli/issues/12645
https://github.com/dahovey
dahoveyhttps://github.com/dahovey
on Oct 15, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-542398727
https://github.com/orgads
orgadshttps://github.com/orgads
on Oct 31, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-548377130
https://github.com/chenwenshu
chenwenshuhttps://github.com/chenwenshu
on Nov 4, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-549295879
Improve performance of parallel bundle processing [8.3.x]https://github.com/angular/angular-cli/pull/15710
Differential buildshttps://angular.io/guide/deployment#differential-builds
https://github.com/orgads
orgadshttps://github.com/orgads
on Nov 4, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-549299548
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 5, 2019https://github.com/angular/angular-cli/issues/12645#issuecomment-562016633
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 5, 2019https://github.com/angular/angular-cli/issues/12645#event-2856846230
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/12645
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/12645
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.