#10044 closed bug (duplicate)
jquery - ajax with memory leak
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | ajax | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
hi guys i'm running a simple 'refresh' with ajax and i'm getting a memory grow without understanding why check if i'm wrong or if i'm doing a wrong memory clean
running in firefox and i.e. i get a memory growing running on google chrome don't :/
i'm using jquery 1.6.1 and php script that return a blank page when ?frame=1
the javascript execute a ajax that return a blank page (?frame=1) and sum +1 on a success counter, and +1 on a error counter when sucess/error, after ajax complete (erro/sucess) it resend the ajax request
after +- 10000 requests memory jump from 43 MB to 85MB in firefox (running firefox 5.0.1) at chrome it work with 33-45 and never grow with +- 20000 request chrome continue with 33-45 mb and firefox get 130MB
check the link (it's a ziped file) www.spadim.com.br/bug.jquery.zip
thanks guys
Change History (7)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
i got this link at jsfiddle could you check if it's ok? i never used fiddle before http://jsfiddle.net/vBJXK/
comment:3 Changed 12 years ago by
Component: | unfiled → ajax |
---|---|
Owner: | set to roberto@… |
Priority: | undecided → low |
Status: | new → pending |
Could you let us know how you're detecting the memory leak?
comment:4 Changed 12 years ago by
Status: | pending → new |
---|
i'm running windows process manager (with firefox, i.e.) and checking memory usage after some minutes
on google chrome i'm using the google chrome task manager that show memory usage
comment:5 Changed 12 years ago by
on some tablets (android) i execute it on default android webbrowser and it stop browser after some hours (no more memory), ok i don´t know what engine the default browser run, but maybe a variation of webkit webkitgtk or another one, maybe gecko... but let´s focus on firefox,midori,internet explore,safari,google chrome, since i´m using it on desktop for now
comment:6 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
this is the same as Ticket #9715
i couldnt save at jsfiddle but put this code at html and press run: