Perfect, thank you very much!
In this case, you want to check out the following topic:
To make it simple here are the important parts. You have to set the following environment variables:
# To make sure that old execution data does get deleted automatically
EXECUTIONS_DATA_PRUNE=true
# Define how long old executions should be stored in hours
# (in this case 1 week)
EXECUTIONS_DATA_MAX_AGE=168
# To make sure that SQLite actually frees up the memory.
# Without it the data will be deleted but the memory will not become available
DB_SQLITE_VACUUM_ON_STARTUP=true
After you did set the above, make sure to restart n8n. Is potentially even necessary to restart twice (else the vacuum will maybe not run).
Hope that is helpful!