java - Too much RAM Usage in Android Application -


in application calling activity, in new handler started. later activty gets restarted again long using application. possible handler causing explosive ram usage 450 mb because never closed?

final handler handler = new handler();     final int[] = {0};     handler.post(new runnable() {         @override         public void run() {             log.i("pointscopy", pointscopy.tostring());             appear(pointscopy.get(i[0]));             i[0]++;             if (i[0] < pointscopy.size()) {                 handler.postdelayed(this, 1500);             }         }     }); 

thanks answering


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo