I have a WorkFlow that gets a lot of data (1000 records) in an array. Then I want to write the data to MS SQL in a SplitInBatches loop. After some time I get a browser message “This page isn’t responding”.
I have prepared an example that simulates the behaviour of my production WorkFlow.
CreateArray => makes an array with 1000 records.
FunctionDelay => simulates writing to the database => makes a 20 ms delay.
What is interesting is that if I increase the delay from 20 ms to 50 ms I see “progress arrows” inside the WorkFlow for some time.
My test WorkFlow:
I have the sample workflow running now, While I am waiting to see if the error reproduces can you tell me a bit more about the setup you have? The information we request in the template when creating a new question is very handy.
Information on your n8n setup
- n8n version:
- Database you’re using (default: SQLite):
- Running n8n with the execution process [own(default), main]:
- Running n8n via [Docker, npm, n8n.cloud, desktop app]:
version: 0.165.0 (0.160.0 same problem )
Running n8n via: Docker
So the bad news is I was not able to reproduce this and it ran as expected.
Which browser are you using?
I have the same problem on Chrome and Microsoft Edge
I did not point out earlier that in the end WorkFlow is successfully executed. The error appears during execution.
That is strange I did the test in Chrome and there was no message during execution, I wonder if the browser is hitting a memory limit of some kind.