Azure / Azure/azure-functions-host

Allow node worker to use maximum amount of memory available in the dedicated sku

Open
#6,455 17 comments 0 reactions 2 assignees Claimed by @ejizba View on GitHub
enhancement stack: node-js
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

Right now in production node process uses built in default for memory. With the defaults node does not take advantage of the maximum memory available in the SKU. We should be overriding the default memory limits set by the node process to match the amount of memory available of the machine.

#### Known workarounds
Set the following app setting
`"languageWorkers:node:arguments": "--max-old-space-size="`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.