I use Drip and JScript leaks detector When I link prototype.js to empty page Drip shows that 4 divs leak, JScript leaks detector shows - everything ok. But its not right - simply refresh blank page several times I can see that prototype.js really leaks - memoey, used by IE, everytime grows after refresh. When I write sime script which plays with elements in the page - JScript leaks detector show some memory leaks, but Drip doesnt show them So I dont know what to do and which tool is right --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
If the memory leak is growing (use a time test) var time = new Date; //execute your code here time = time - new Date; result.update(time); <div id="result"></div> There are patches for Prototype 1.6 -> http://github.com/jdalton/prototype/tree/master/src/event.js --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
When it will be possible to get next fixed library from prototype.org ? There are lot of patches, which need right now On 22 апр, 23:46, jdalton <John.David.Dal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If the memory leak is growing (use a time test) > > var time = new Date; > > //execute your code here > > time = time - new Date; > result.update(time); > > <div id="result"></div> > > There are patches for Prototype 1.6 ->http://github.com/jdalton/prototype/tree/master/src/event.js--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I have notice that update() is leaking and I I have begun to write .innerHTML = ... instead of update() On 22 апр, 23:46, jdalton <John.David.Dal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If the memory leak is growing (use a time test) > > var time = new Date; > > //execute your code here > > time = time - new Date; > result.update(time); > > <div id="result"></div> > > There are patches for Prototype 1.6 ->http://github.com/jdalton/prototype/tree/master/src/event.js--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
There is a patch for Element#update as well. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I believe we have taken care of most of IE leaks/hogs. My only concern now is #defer which has been reported to leak in FF. I have a feeling it has something to do with anonymous function being passed into setTimeout, but can''t be sure without proper tests. - kangax On Apr 23, 10:09 am, jdalton <John.David.Dal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> There is a patch for Element#update as well.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Where can I take patched version of prototype.js? On 23 апр, 17:40, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I believe we have taken care of most of IE leaks/hogs. My only concern > now is #defer which has been reported to leak in FF. I have a feeling > it has something to do with anonymous function being passed into > setTimeout, but can''t be sure without proper tests. > > - kangax > > On Apr 23, 10:09 am, jdalton <John.David.Dal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > There is a patch for Element#update as well.- Скрыть цитируемый текст - > > - Показать цитируемый текст ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
http://github.com/sstephenson/prototype/tree/master - kangax On Apr 23, 11:22 am, Buda <budari...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Where can I take patched version of prototype.js? > > On 23 апр, 17:40, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I believe we have taken care of most of IE leaks/hogs. My only concern > > now is #defer which has been reported to leak in FF. I have a feeling > > it has something to do with anonymous function being passed into > > setTimeout, but can''t be sure without proper tests. > > > - kangax > > > On Apr 23, 10:09 am, jdalton <John.David.Dal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > There is a patch for Element#update as well.- Скрыть цитируемый текст - > > > - Показать цитируемый текст ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I havnt found where is the place in your link to download patched version of prototype.js On 23 апр, 23:00, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> http://github.com/sstephenson/prototype/tree/master > > - kangax > > On Apr 23, 11:22 am, Buda <budari...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Where can I take patched version of prototype.js? > > > On 23 апр, 17:40, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I believe we have taken care of most of IE leaks/hogs. My only concern > > > now is #defer which has been reported to leak in FF. I have a feeling > > > it has something to do with anonymous function being passed into > > > setTimeout, but can''t be sure without proper tests. > > > > - kangax > > > > On Apr 23, 10:09 am, jdalton <John.David.Dal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > There is a patch for Element#update as well.- Скрыть цитируемый текст - > > > > - Показать цитируемый текст -- Скрыть цитируемый текст - > > - Показать цитируемый текст ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---