In my app, I continuously create an AsyncTask about every 5 seconds. I have inspected the task during debug and can clearly see that the task always completes its process and exits the doInBackground method. No code in the onPostExecute is ever executed. Yet the AsyncTask continues to remain in memory as I can see in Eclipse. I thought that maybe it would just get reused for the next loop or eventually garbage collected but another one gets created and this continues. Eventually enough of them get created and slows the system down.
What could be the potential problem?