Android app slowing down and crashing
<p>I created an app in android studio that plots a graph(using mp android chart) from the data received from a source. Here's the problem: when I try to plot the data at high frequencies (like 150hz plus) the app slows down and then crashes. At lower frequencies it can keep plotting for as long as I like so I know its not running out of memory. Maybe it needs a minimum amount of time to clear its memory? Is their anything I can do that can help me clear the memory when I want?</p>