On 16/01/06, Didier Ernotte <[EMAIL PROTECTED]> wrote:
> If I start FF and I look at the memory associated with the firefox
> process few hours later, even without doing activity in FF (just the
> extension activity), the memory is better bigger and bigger.


In general, without good tools, debugging memory leaks is hard.

Some things to look for:
- unclosed streams or other system resources (window objects?) that may stop
garbage collection
- legitimate memory growth - e.g. a growing collection of object
- cache growth - is your application accessing resource that may be cached

otherwise, the only reliable method I've found (not in Firefox specifically)

1. run app
2. test for leak
3. if leak then comment out some code and goto 1.

repeat until the leak is gone.


Also, as Brian said, I don't think you can count on
- FireFox not having memory leaks
- FireFox not legitimately using more memory over time

Adam
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to