Background running apps are one of the main causes of the heating issues. So, you just have to turn off all the background running applications in your phone to make more space in RAM.