Rescently I executed long insert SQL file.

After an hour, I've got an error "Out of memory".
Is there any way to make IDE automatically manage output size, to some limited number of lines or smth?

In preferences there is only buffer size, and autoclear on NEW script. There is no autoclear, when buffer size exceeded. Instead, it rises an error (and stops all insert process).

And more, when you get more and more lines, program performance gets slower and slower.