Hello aniket,
According to the log, you are trying to generate the mesh model in Arbitrary mode from the dense cloud, which is very resource demanding operation in Metashape 1.7 and is not, actually, suitable for the large dense clouds.
In Metashape 1.8 the mesh generation mode for this surface+source data type combination has been modified and shouldn't require excessive amounts of RAM.