Replicator Composer lags

Hello,

I am trying to generate synthetic data with physics enabled. The number of objects present in my scene is a large number. When I try to run the simulation with interval of 4 seconds between frames. It lags really bad.

For reference, I am attaching a video which is one of the examples of physics enabled replicator composer. In that you will notice that when I use the ‘preview’ there is no lag but when I ‘run’ the simulation it starts to lag right away. Is this expected behaviour ? Please let me know


Hardware -
GPU: RTX 3090 24GB
CPU: AMD Threadripper
RAM: 128GB

Thanks in advance.
Mayank