[{"data":1,"prerenderedAt":221},["ShallowReactive",2],{"changelog-entry-\u002Fchangelog\u002F2026\u002F02\u002Fdevice-agent-nodejs-options":3},{"id":4,"title":5,"body":6,"description":206,"extension":207,"meta":208,"navigation":216,"path":217,"seo":218,"stem":219,"__hash__":220},"changelog\u002Fchangelog\u002F2026\u002F02\u002Fdevice-agent-nodejs-options.md","Set Node.js Options for Remote Instances",{"type":7,"value":8,"toc":201},"minimark",[9,13,16,35,38,43,50,98,106,113,188,197],[10,11,12],"p",{},"FlowFuse Device Agent v3.8.1 adds support for setting Node.js command line arguments for Remote Instances.",[10,14,15],{},"This allows things like:",[17,18,19,23],"ul",{},[20,21,22],"li",{},"Setting the Node.js heap size for memory-intensive flows",[20,24,25,26,30,31,34],{},"Enabling ",[27,28,29],"code",{},"--use-openssl-ca"," (Linux) or ",[27,32,33],{},"--use-system-ca"," (Windows and macOS) to use private CA certificates",[10,36,37],{},"Node.js options can be configured in two ways:",[39,40,42],"h3",{"id":41},"_1-via-the-device-agent-command-line","1. Via the device agent command line",[10,44,45,46,49],{},"Use the ",[27,47,48],{},"--node-options"," argument. This argument may be specified multiple times:",[51,52,57],"pre",{"className":53,"code":54,"language":55,"meta":56,"style":56},"language-bash shiki shiki-themes github-light github-dark","flowfuse-device-agent -c \u002Fopt\u002Fflowfuse-device-agent\u002Fdevice.yml \\\n    --node-options='--max-old-space-size=256' \\\n    --node-options='--use-openssl-ca'\n","bash","",[27,58,59,79,90],{"__ignoreMap":56},[60,61,64,68,72,76],"span",{"class":62,"line":63},"line",1,[60,65,67],{"class":66},"sScJk","flowfuse-device-agent",[60,69,71],{"class":70},"sj4cs"," -c",[60,73,75],{"class":74},"sZZnC"," \u002Fopt\u002Fflowfuse-device-agent\u002Fdevice.yml",[60,77,78],{"class":70}," \\\n",[60,80,82,85,88],{"class":62,"line":81},2,[60,83,84],{"class":70},"    --node-options=",[60,86,87],{"class":74},"'--max-old-space-size=256'",[60,89,78],{"class":70},[60,91,93,95],{"class":62,"line":92},3,[60,94,84],{"class":70},[60,96,97],{"class":74},"'--use-openssl-ca'\n",[39,99,101,102,105],{"id":100},"_2-via-the-deviceyml-file","2. Via the ",[27,103,104],{},"device.yml"," file",[10,107,108,109,112],{},"Add a ",[27,110,111],{},"nodeOptions"," section:",[51,114,118],{"className":115,"code":116,"language":117,"meta":56,"style":56},"language-yaml shiki shiki-themes github-light github-dark","deviceId: xxxxxxx\nforgeURL: https:\u002F\u002Fapp.flowfuse.com\ntoken: xxxxxxxx\ncredentialSecret: xxxxx\nnodeOptions:\n- '--max-old-space-size=256'\n- '--use-openssl-ca'\n","yaml",[27,119,120,133,143,153,164,172,181],{"__ignoreMap":56},[60,121,122,126,130],{"class":62,"line":63},[60,123,125],{"class":124},"s9eBZ","deviceId",[60,127,129],{"class":128},"sVt8B",": ",[60,131,132],{"class":74},"xxxxxxx\n",[60,134,135,138,140],{"class":62,"line":81},[60,136,137],{"class":124},"forgeURL",[60,139,129],{"class":128},[60,141,142],{"class":74},"https:\u002F\u002Fapp.flowfuse.com\n",[60,144,145,148,150],{"class":62,"line":92},[60,146,147],{"class":124},"token",[60,149,129],{"class":128},[60,151,152],{"class":74},"xxxxxxxx\n",[60,154,156,159,161],{"class":62,"line":155},4,[60,157,158],{"class":124},"credentialSecret",[60,160,129],{"class":128},[60,162,163],{"class":74},"xxxxx\n",[60,165,167,169],{"class":62,"line":166},5,[60,168,111],{"class":124},[60,170,171],{"class":128},":\n",[60,173,175,178],{"class":62,"line":174},6,[60,176,177],{"class":128},"- ",[60,179,180],{"class":74},"'--max-old-space-size=256'\n",[60,182,184,186],{"class":62,"line":183},7,[60,185,177],{"class":128},[60,187,97],{"class":74},[10,189,190,191,196],{},"For more details, see ",[192,193,195],"a",{"href":194},"\u002Fdocs\u002Fdevice-agent\u002Frunning\u002F#configuring-node.js-options","Configuring Node.js Options",".",[198,199,200],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s9eBZ, html code.shiki .s9eBZ{--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":56,"searchDepth":81,"depth":81,"links":202},[203,204],{"id":41,"depth":92,"text":42},{"id":100,"depth":92,"text":205},"2. Via the device.yml file","FlowFuse Device Agent v3.8.1 adds support for passing Node.js command line arguments to Remote Instances, enabling custom heap sizes and private CA certificate support.","md",{"date":209,"authors":210,"tags":212,"issues":214},"2026-02-13 12:00:00.0",[211],"ben-hardill",[213],"changelog",[215],"https:\u002F\u002Fgithub.com\u002FFlowFuse\u002Fdevice-agent\u002Fissues\u002F571",true,"\u002Fchangelog\u002F2026\u002F02\u002Fdevice-agent-nodejs-options",{"title":5,"description":206},"changelog\u002F2026\u002F02\u002Fdevice-agent-nodejs-options","pZHQHau_XioEj6NCkKedMs0jksFRTVZM45W3w4MoR8E",1780070548744]