Re: [jQuery] Tips and tricks for fixing memory leaks

2009-12-07 Thread Michael Geary
Minifying your code and removing unused code are good ways to reduce your initial memory footprint, but they won't have any effect on memory leaks. A memory leak is when the browser's memory use continues to increase, either as as you interact with a page or when you reload the page or navigate to

Re: [jQuery] Tips and tricks for fixing memory leaks

2009-12-07 Thread Olivier Percebois-Garve
Is it a leak or a pseudo-leak ? leak -> page is being reloaded pseudo-leak -> no reload First you should know that firebug leaks a lot of memory, so you should perform your memory test with firebug disabled, ideally with all ff plugins disabled. The first and easiest to spot source of pseudolea

Re: [jQuery] Tips and tricks for fixing memory leaks

2009-12-07 Thread Carlos De Oliveira
try to use *.min *codes (minimized versions of .js), also may remove Jquery UI sections from *JQuery.ui.min.js*. -- Carlos De Oliveira Departamento De Sistemas Consultor Senior 0426 517 73 01 0212 204 69 60 cdeolive...@grupozoom.com card...@gmail.com

[jQuery] Tips and tricks for fixing memory leaks

2009-12-06 Thread James Gibson
I am using about 25 jquery plugins along with 1.3.2 and jquery ui 1.7. After using my app for a while firefox starts eating up memory and it can get up to 500MB and more. What tips and tricks to you guys find help eleminate memory leaks in your code? Thanks, James