ryannjohnson/pathtracer

Copying the scene per goroutine causes memory to run out

Closed this issue · 1 comments

To achieve full CPU utilization per goroutine, the scene was being cloned for each process. With huge scenes, this immediately multiplies the memory use and will effectively crash the computer if not enough is available.

Solved with 1c874b1.