“1 OpenGL errors detected 0 : (1285) Out of memory” after tens of thousands of Loop (inside each Loop: use VTK, new Window, Render, VolumeMapper then delete them))

No. I’m not a driver developer. My experience is limit to being an OpenGL application developer. Mostly with NVIDIA’s OpenGL driver, both on Linux and Windows.

While that may be one possible cause, there are others. For just a few of the many examples (with NVIDIA drivers), see this thread. Search for GL_OUT_OF_MEMORY:

I’d suggest you see what the driver is telling you about your specific error. It may not be what you think.