---
title: "Set Node.js Options for Remote Instances"
description: "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."
canonical_url: "https://flowfuse.com/changelog/2026/02/device-agent-nodejs-options/"
---

> Index of every page on this site: [llms.txt](https://flowfuse.com/llms.txt)

FlowFuse Device Agent v3.8.1 adds support for setting Node.js command line arguments for Remote Instances.

This allows things like:

- Setting the Node.js heap size for memory-intensive flows
- Enabling `--use-openssl-ca` (Linux) or `--use-system-ca` (Windows and macOS) to use private CA certificates

Node.js options can be configured in two ways:

### 1. Via the device agent command line

Use the `--node-options` argument. This argument may be specified multiple times:

```bash
flowfuse-device-agent -c /opt/flowfuse-device-agent/device.yml \
    --node-options='--max-old-space-size=256' \
    --node-options='--use-openssl-ca'
```

### 2. Via the `device.yml` file

Add a `nodeOptions` section:

```yaml
deviceId: xxxxxxx
forgeURL: https://app.flowfuse.com
token: xxxxxxxx
credentialSecret: xxxxx
nodeOptions:
- '--max-old-space-size=256'
- '--use-openssl-ca'
```

For more details, see [Configuring Node.js Options](https://flowfuse.com/docs/device-agent/running/#configuring-nodejs-options).

## Sitemap

See the full [sitemap](https://flowfuse.com/sitemap.md) for all pages.
