My game is consuming memory a lot in my phone, how can I resolve this problem?
I’ve tried leave my objects = null in final and call the garbage collector, but not resolved.
The game have to create a new sprite a each one minute.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have written your game creating sprite every minute, but i think rather to create new sprite replace the sprite image. if you are not doing any functional position operation on that sprite using below code.