diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2019-02-01 11:38:52 -0800 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2019-02-01 13:18:13 -0800 |
commit | 1d996f58af3067617a67c0af8f86f014ed4d139c (patch) | |
tree | 9532cbc371a3612ad35f643c01ea332b333ce1ff /node.gyp | |
parent | d0d84b009ce4f2fe274568ed39754c02167e27d3 (diff) | |
download | android-node-v8-1d996f58af3067617a67c0af8f86f014ed4d139c.tar.gz android-node-v8-1d996f58af3067617a67c0af8f86f014ed4d139c.tar.bz2 android-node-v8-1d996f58af3067617a67c0af8f86f014ed4d139c.zip |
src: properly configure default heap limits
Unless configured, V8 defaults to limiting the max heaps size to 700 MB
or 1400MB on 32 and 64-bit platforms respectively. This default is
based on the browser use-cases and doesn't make a lot of sense
generally. This change properly configures the heap size based on
actual available memory.
PR-URL: https://github.com/nodejs/node/pull/25576
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'node.gyp')
0 files changed, 0 insertions, 0 deletions