I’m using Render to self-host N8N. I have a download file from Google Drive node. I’m concern with the persistent disk space that I have. I want to know if N8N store files in render? If so, is it a temporary file? if not, how do I delete it?
Unless you save it with a Write Files node or save it some other way (code node?), the only way data like that should be retained is as part of the execution data, stored in the n8n application database. You have control over how much of that is retained, and how long it is retained in the environment settings.
Without knowing how you have set up n8n in Render, I couldn’t speculate any more about how your storage resources are used. Did you follow instructions somewhere to get things running? It might be possible to review that and make some better guesses.
n8n downloads the file during workflow execution, and where it stores it (in memory or on disk) depends on the N8N_DEFAULT_BINARY_DATA_MODE setting. After the workflow finishes, n8n cleans up, and the memory or disk space gets released automatically.
If you want to dig into the settings or change how it handles files, check out these links:
N8N_PERSISTED_BINARY_DATA_TTL was removed some time ago, so you could remove that from your environment. It has no effect.
Since you do not have N8N_DEFAULT_BINARY_DATA_MODE explicitly set to something else, and you have not provided a value for N8N_BINARY_DATA_STORAGE_PATH, n8n would be using the default settings, which keep binary data in memory.
Correct. Memory means the same as RAM. (That’s what the M in RAM stands for, btw… Random-Access-Memory). Memory usage does not persist after a workflow execution has completed, so it would not be an incremental resource consumption/cost, and it would not be anything you need to clean up yourself.