I am now doing a project about lens design optimization. In each iteration during the optimization, I use OptiX7 to do the ray tracing and compute mean-square error. But there is a problem. Every time after hundreds of OptiX ray tracing calls, the OptiX call will fail with code 7900. It usually happens after about 5-10mins running. I have tried to solve this problem but have no idea yet. I will appreciate it if someone can help solve this. Thanks!