@oliverio sagte in Adapter mit Bilder-Upload:
beim aufruf von node kann man parameter angeben.
im iobroker kommst du da meines wissens nicht ran.
Doch, seit js-controller 5.x über die io-package nodeProcessParams: https://github.com/ioBroker/ioBroker.js-controller/blob/0e88061f58602a0f3652062055d0f66e6d85d705/schemas/io-package.json#L1567C10-L1572
(geht logischerweise nicht im compact mode)
z.B. --max-old-space-size=SIZE (in megabytes)
As memory consumption approaches the limit, V8 will spend more time on garbage collection in an effort to free unused memory.
https://nodejs.org/docs/latest-v20.x/api/cli.html#--max-old-space-sizesize-in-megabytes
Genau den Parameter kann man (als Nutzer) aber bereits je Instanz steuern (memoryLimitMB) :
Screenshot 2024-06-21 at 12.34.39.png