First of all, thanks for your reply! :)

Second: pbentries.xml is UTF-8 encoded. Firefox and Dreamweaver opens
it but very-very slowly. JEdit crashes, I know. :(
That weird character is double acute O.

I try to make an xml file with a latin character. I hope it will leak.
Sorry for the weird xml file, but the original file contains a
phonebook with a lot of entries. I can't show you the original data.
The original data is generated from a database table on server side by
a Java application. I think the encoding is correct. But I check it again.

Third:

At the end of processResult() I call destroyHttpService() where
httpService is set to null. No reference so the GC can collect it.
And in 3 cases it collects it. Only e4x and pbentries.xml leaks.

Thanks again! (1000x)

Lacito

--- In [email protected], Paul J DeCoursey <[EMAIL PROTECTED]> wrote:
>
> 
> > On Wednesday 14 Feb 2007, lacito.domingo wrote:
> >   
> >> No answers yet. Could somebody confirm the leak? Or is it my fault?
> >>     
> I'm not sure what you mean by memory leak. But in your source you do 
> keep a reference to the HttpService and that will keep the XML hanging 
> around in memory for a while. That may be the issue. 
> Also I looked at 
> your xml files, and pbentries.xml is full of some bizarre characters. 
> They display as Å&#65533; (which is not UTF-8 encoded by the way) in
notepad on 
> winXP and they crash jedit and firefox if I try to view the file. I am 
> guessing they have something to do with the problem.
>


Reply via email to