When running Unity as a standalone application, I observe a memory usage of approximately 300 MB. Similarly, when running React Native as a standalone application, the memory usage is around 200 MB. However, when I integrate the two platforms to create a unified application, the memory usage ~ 1 GB.
I am eager to optimize the memory usage in order to achieve better performance. Could you kindly share some insights and recommendations on how to address this issue? I would greatly appreciate any guidance you can provide to help me optimize the memory usage in the integrated application.