Quantcast
Channel: Paper Cuts - Blender Developer Talk
Viewing all articles
Browse latest Browse all 57

OptiX Cycles - Huge GPU Memory Leak!

$
0
0

@Tricotou wrote:

Hi !
I’m having a problem with OptiX under 2.81

PROBLEM
Huge GPU memory leak ! The scene needs about 4 GB of GPU RAM to be computed, but it’s not totally freed at the end of frame compute (having a direct look on the nvidia-smi )
Frames after frames, on both GPUs the memory goes 5Gb --> 6GB --> etc --> 11GB and crashes :frowning:
So I cannot render more than 6 or 7 frames in a row. I need to relaunch on next frames again and again :cry:


System :
Ubuntu 18.04
Blender 2.81 Release
GPUs : 2 x RTX 2080 Ti - 11GB
RAM : 192 GB
Nvidia Drivers : 440.31
CUDA Version : 10.2


Traceback :

OptiX CUDA error CUDA_ERROR_ILLEGAL_ADDRESS in cuStreamSynchronize(cuda_stream[thread_index]), line 2158
Buffer allocate  failed, out of host memory
[...]
Buffer allocate  failed, out of host memory
OptiX CUDA error CUDA_ERROR_ILLEGAL_ADDRESS in cuMemcpyDtoH( (char *)mem.host_pointer + offset, (CUdeviceptr)mem.device_pointer + offset, size), line 1605
OptiX CUDA error CUDA_ERROR_ILLEGAL_ADDRESS in cuMemcpyHtoD((CUdeviceptr)mem.device_pointer, mem.host_pointer, mem.memory_size()), line 1584
Buffer allocate  failed, out of host memory
[...]
Buffer allocate  failed, out of host memory
Error: OptiX CUDA error CUDA_ERROR_ILLEGAL_ADDRESS in cuStreamSynchronize(cuda_stream[thread_index]), line 2158
Fra:8 Mem:11689.34M (0.00M, Peak 13895.76M) | Time:01:09.64 | Remaining:00:15.31 | Mem:9476.16M, Peak:9908.11M | Scene, View Layer | Cancel | OptiX CUDA error CUDA_ERROR_ILLEGAL_ADDRESS in cuStreamSynchronize(cuda_stream[thread_index]), line 2158

([...] when line is repeated dozen of times)


SOLUTION
No solution appart from going back CUDA only.


Does any one have a clue ?

See you :slight_smile: ++
Tricotou

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 57

Trending Articles