• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to avoid out of memory error in string builder in android

 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends
I am getting out of memory error in string builder in android .I am gettin lot of values from webservice while replacing xml entity character reference character i used stringbuffer .How to avoid that can anybody give example how to do?

My appending code
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!