Node: A lighter node based on V8 Lite?

Created on 12 Sep 2019  路  2Comments  路  Source: nodejs/node

Is your feature request related to a problem? Please describe.
V8 team just published a blog post about V8 Lite https://v8.dev/blog/v8-lite
It's aimed at dramatically reducing V8鈥檚 memory usage.

Describe the solution you'd like
Is there some plan to build a lighter node? Or some config to enable lighter version of node?

V8 Engine question

Most helpful comment

That article says that most of the work is already incorporated in "normal" V8, so the benefits of using lite mode are not going to be significant. Secondly, there's nothing special node core has to do to use lite mode, you just pass the relevant V8 flag: --lite-mode. You'll need the latest node v12.x for that though.

All 2 comments

That article says that most of the work is already incorporated in "normal" V8, so the benefits of using lite mode are not going to be significant. Secondly, there's nothing special node core has to do to use lite mode, you just pass the relevant V8 flag: --lite-mode. You'll need the latest node v12.x for that though.

For the sake of completeness: there is a "lite mode" build flag but the only thing it changes is whether the --lite_mode flag defaults to on or off.

I'll close this out as answered.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cong88 picture cong88  路  3Comments

willnwhite picture willnwhite  路  3Comments

seishun picture seishun  路  3Comments

fanjunzhi picture fanjunzhi  路  3Comments

stevenvachon picture stevenvachon  路  3Comments