title: Android-activities continue to use RAM memory even if they are left
body: <p>For several months I am creating an application for Android and I have a problem I can not solve : my application unexpectedly crashes after a few minutes of use. Thanks to the " Memory Monitor " of Android Studio, I can see that my application is using more and more memory over time : when I change activity , memory usage increases but not decreases, which then causes the stoppage my application when any memory allocated to it is used (256 MB) .</p>
  
  <p>Do you have a solution to ensure that the memory used ceases to steadily increase over time as if already vacated activities continued to use memory ?</p>
  
  <p>Here is a screenshot of Memory Monitor , phases rising with red arrows correspond to the launch of various activities. The blue arrow indicates when the application leaves unexpectedly.<img src="https://i.stack.imgur.com/1xxV6.jpg" alt="Memory Monitor Android Studio"></p>