The render buffer for cameras in simulation is currently implemented as a std::vector. However, as it is always appended it can lead to large memory consumption. Often older frames are no longer needed anyway, so overwriting them in cyclic fashion, similar as this is already done on the python side, would be better.
Resources