Memory leak in the application while using the Appium

We are seeing memory leak in our application while using appium for automation and it is leading to application killed by the system process, manual testing works absolutely fine without any issues. Does anyone facing this issue? if yes do you have any solution?