[prev in list] [next in list] [prev in thread] [next in thread]
List: mozilla-rdf
Subject: Re: memory leak
From: Gavin Doughtie <gavin () doughtie ! com>
Date: 2003-12-25 0:08:15
[Download RAW message or body]
There's a bugzilla bug I entered about this. Search for "memory leak"
and you'll see it.
Alexander N. Treyner wrote:
> I wrote application using Mozilla XUL technology. One of the parts of
> application is tree with remote datasource. I refreshes datasource
> with next
> code every 5 min:
> function refreshlog2() {
> var tree;
> netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
> tree = document.getElementById("MyTree");
> var datasources = tree.database.GetDataSources();
> while(datasources.hasMoreElements())
> {
> var currDS = datasources.getNext();
> var remote =
> currDS.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);
> remote.Refresh(false);
> }
> }
> Every refresh causes growing memory used by MozillaFirebird.exe by
> 100K-200K
> byte, however number of records in the tree still the same and not
> changed.
>
> Reproducible: Always
>
> Steps to Reproduce:
> 1.Create simple tree
> 2.Populate it with remote datasource
> 3.Refresh it using code above.
> Actual Results:
> growing memory used by MozillaFirebird.exe
>
> Expected Results:
> use same memory amount in case when datasorce have same size
> _______________________________________________
> Mozilla-rdf mailing list
> Mozilla-rdf@mozilla.org
> http://mail.mozilla.org/listinfo/mozilla-rdf
>
_______________________________________________
Mozilla-rdf mailing list
Mozilla-rdf@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-rdf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic