Hi All. I have strange problem. I'm parsing a document with large text field. in my characters section i'm using StringBuilder
currentStory.append(ch, start, length);
then in my endElement i'm assigning it to the appropriate field on my object.
  if (name.equals(tagDesc)) {
     inDesc = false;
     if (currentItem != null ) {
         currentItem.setSummaryText(currentStory.toString());
     }
     currentStory.setLength(0);
  }
setSummary is
    public void setSummaryText(String text) {
      Story = text;
    }
And i'm running out of memory.
if i change setSummaryText to something completely weird like this
public void setSummaryText(String text) { char[] local = text.toString() Story = new String(local); }
I'm fine. I just cant figure out where i'm holding that reference ? Story is a member var of this object initialized with ""; note - assigning to local String variable instead of char[] - fails as well.