Skip to content

Serving with AOT takes 10+ minutes #4020

Closed
@masaanli

Description

@masaanli

Please provide us with the following information:

Call I did:

node --max_old_space_size=8192 ./node_modules/.bin/ng serve --env=prod --aot=true

in v24 of the Cli it was just taking 50 seconds?

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
MacOS Siera

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
25.5 / 6.9.1

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

Labels

needs: investigationRequires some digging to determine if action is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions