When running the video example in the latest version of Megascene1, release 1.4 the allocated memory creeps up over time. For even a modest focal plane and frame rate, this eats up a lot of RAM pretty soon into the overall run...
Are you saying that this wasn't happening with the same sim running under 4.5.0? And you are sure you have the final 4.5.1 release?
We have not been observing this. The memory usage will grow while new geometry is encountered, but it stabilizes after the first frame. Can you explain some more about what you are seeing, some more details of your sim, etc.
The leak appears to be related to adaptive pixel sampling, so I am assigning this one to Adam.
The adaptive sampler uses a sample generator to get good uniformity for its samples across the focal plane. Unfortunately a new sampler (and the pre-generated random values it creates) was being generated anew for each capture and just accumulating in memory.
I've fixed this by moving the scope of the sampler to the object so that each capture will share the same sampler.