Hi @til,
There are currently no known memory leaks in OptiX. If you find one we can reproduce, we will be keen to resolve it.
There can be some device memory usage associated with each module. The code in the module is loaded on the GPU, as well as whatever global memory you have in the code. So it is expected that your device memory usage increases, and these allocations do happen at pipeline create (link) time. This is normal, unless you call both optixPipelineDestroy() and optixModuleDestroy() on your pipelines and modules and don’t see a corresponding decrease in device memory usage.
–
David.