Do you statically cache objects?
If your activity is gone/finished, that does not necessarily mean that
your game's process has died. Static references/caches may still be
active.


On Apr 21, 7:06 am, quakeboy <prasna...@gmail.com> wrote:
> I have made a game with just one activity.. I just replace the views
> when I want to change screen. The game runs fine for a really long
> time inspite of what ever I do within the game.
>
> But once I close the main game, by calling finish on the only activity
> in the application, and then when I start again, within the next 30
> secs it crashes telling VM budget exceeded..
>
> When I don't have a dispose() or a delete method in JAVA.. how the, am
> I supposed to remove the objects used in memory..
>
>  moreover I have
> android:launchMode="singleInstance" in my manifest
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to