These patches fix three different memory leaks identified with jhat, the
most severe of which was causing a crash with an OutOfMemoryException
every few hours for me.  Tested on a Nexus S running 2.3.4.

Of the three patch series I've submitted, this one should be applied
first.

Steven Luo (2):
  Hold MessageListAdapters and MessageListViews in DeckAdapter to avoid
    leaks
  Dispose of IRCConnections properly to avoid leaking IRCService
    objects

 .../org/yaaic/activity/ConversationActivity.java   |   11 ++-
 .../src/org/yaaic/activity/ServersActivity.java    |    2 +-
 application/src/org/yaaic/adapter/DeckAdapter.java |   84 ++++++++++++++++----
 application/src/org/yaaic/irc/IRCService.java      |    9 ++-
 .../yaaic/listener/ConversationClickListener.java  |    6 +-
 application/src/org/yaaic/model/Conversation.java  |   19 -----
 6 files changed, 86 insertions(+), 45 deletions(-)

-- 
1.7.2.5

Reply via email to