hi @Divyansh_Mishra !
It would be interesting to check if this still happens on latest 1.25.X version or at least at 1.24.7 (latest 1.24.X patch as I write).
A lot has changed, since the version you are running. I even recall some memory leakage fix at some point, and this for sure smells like one
Let me know if this helps.
Thanks!