I frequently send bulk emails and WhatsApp messages with attachments (~5MB per file) to hundreds of recipients. I’m concerned that these files are held in RAM, which could crash the VM.
With a VM of 1GB of RAM and 30GB storage that might be problematic but even if I increase the limits at some point it will not be enough.
Is there a way to immediately discard these files after processing? Can this be managed with a specific node, or is there a setting to prevent n8n from holding them in memory or storing them unnecessarily? So something I have to set within the sudo docker setup.
Information on your n8n setup
n8n version: 1.85
Database (default: SQLite): SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main): own
Hi, I don’t see the problem “of staying in memory”. As long as the file-size is not too large for actually 1 single processing loop it won’t most likely not be an issue. I think the most important is to manage the storage of the execution data. do you need to store that execution data of the succesful execution? do you need it for days ? etc. there is where your sqlite filesize will grow considerably.
Thats it. I dont need it at all. If I generate custom pdf presentations with 10MB per file it should be sent to the recipient as soon as that has been completed it can be discarded from the N8N environment. So how would I change that?