VTK Lights

Dear VTK experts,

I am wondering how many lights we can add to a renderer. I am add bunch of lights, but quickly VTK 9 crashed with message that stack was corrupted in light color code, or somewhere else in vtkLight context.

If the number of lights is very limited, is there anyway we can capture the lighting/color of an actor at one moment, and turn that into a texture? When next light is created, the color can accumulate?

Thanks,
Frank