Am 30.05.2011 02:46, schrieb Steven Luo:
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(-)


Very interesting. Do you have a public git repo so I can pull from you and try your patches in every-day-usage? (Or tell me a way to batch-apply the patches from the mails :) ).

Best regards.

Reply via email to