Reputation: 735
I have an activity that sets the content view to a custom view and passes the context to it. From there multiple objects are instantiated by passing the context to their constructors. As i play my game the memory usage goes up and up starting at around 7mb going all the way to 60 or so before crashing and freezing. I was wondering how can i locate this memory leak and what are the rules on passsing the context from class to class without leaking it.
Any suggestions?
Upvotes: 1
Views: 154