Million line max scan in loops

I found the var in the engine config file, that is set at 1 milion lines max. I set it to 4 million, but it still errors at 1 million. Is this hard set somewhere and needs the engine recompile to solve this?

Do you mean MaximumLoopIterationCount ? Works fine for me. From the source code I believe it’s clamped to 10 million.

1 Like


Would you mind elaborating on why you need to iterate several million times? I can’t think of a reason other than an infinite loop.

scanning a file with 5 million lines in it. Getting data for analyzing.

Had to add it to my config then it worked. Thanks for verification that it does work.

fwiw, this sounds like something that could/should be offloaded to another thread