[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
Hi Etha, I just have a thought ! Event.observe( window, 'unload', Event.unloadCache ); is outside the onload event. So If it's placed in the head tag, your not sure that the DOM is loaded at the time IE parse this line, and after testing, it throw an stack overflow in line 707 in IE6 (could not test in IE7/8. You should try to do set this line inside the load DOM event. -- david On 23 oct, 13:11, Alex McAuley webmas...@thecarmarketplace.com wrote: Its not prototype else it would happen to everyone. I asked for a pastebin of your page so we could see what else was being loaded and diagnose the problem. Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:43 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 The problem is not in a singular web page but in each page where prototype.js is referenced, because i need to bind functions on different HTML elements dependending on their classes (for example, each HTML textfield element with class date needs to be validate and so on ... ) So I think it's useless show you the code of a web page ... I get an Out of memory in almost each page of my application ... :'( On 23 Ott, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
IE has lots of memory links, particularly when you have two-way references between js objects and dom nodes. Because of a bug, it never gets properly garbage collected. HTH, Jim On Friday 23 October 2009 12:13:57 Etha wrote: None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. -- Jim my wiki ajaxification thing: http://wikizzle.org my blog: http://jimhigson.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
The problem is not in a singular web page but in each page where prototype.js is referenced, because i need to bind functions on different HTML elements dependending on their classes (for example, each HTML textfield element with class date needs to be validate and so on ... ) So I think it's useless show you the code of a web page ... I get an Out of memory in almost each page of my application ... :'( On 23 Ott, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
can you pastebin your page... Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
Hi Etha, please send you HTML code to load prototype. There is no reason that it does such a thing. -- david On 23 oct, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
Hi Etha, didn't you think that you have done the error. ;)) I'm sure that the core team have tested prototype on IE7/8 . And If we were just after the release date that could be possible option (even if I doubt). But today, 2 month after the official release date ? I'm sure that some other guy have does some test with IE (I'm one of them !) But of course we could also be wrong ;)) -- david On 23 oct, 13:43, Etha ev.distef...@gmail.com wrote: The problem is not in a singular web page but in each page where prototype.js is referenced, because i need to bind functions on different HTML elements dependending on their classes (for example, each HTML textfield element with class date needs to be validate and so on ... ) So I think it's useless show you the code of a web page ... I get an Out of memory in almost each page of my application ... :'( On 23 Ott, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
Yes, you're right. In fact, I asked for someone else who had the same problem, nothing about a prototype.js bug. Don't you think? ;-) I'd just like to know if there's something to fix (known issues or anything like this) after updating prototype to 1.61.1. As written above, I often use prototype.js to dinamically bind events to functions, for many different goals. On Firefox, I don't get an error at all, everything works perfectly. Each web page contains this lines: script type=text/javascript Event.observe( document , 'load', function(){ ... bindTimeTextField(); bindDateTextField(); }); Event.observe( window, 'unload', Event.unloadCache ); /script where ... function bindTimeTextField() { var elementsToBind = $$('input.time'); elementsToBind.each( function (s) { Event.observe( $(s), 'keypress', formatTime ); }); } function bindDateTextField() { var elementsToBind = $$('input.date'); elementsToBind.each( function (s) { Event.observe( $(s), 'keypress', formatDate ); }); } Can it helps? On 23 Ott, 13:56, david david.brill...@gmail.com wrote: Hi Etha, didn't you think that you have done the error. ;)) I'm sure that the core team have tested prototype on IE7/8 . And If we were just after the release date that could be possible option (even if I doubt). But today, 2 month after the official release date ? I'm sure that some other guy have does some test with IE (I'm one of them !) But of course we could also be wrong ;)) -- david On 23 oct, 13:43, Etha ev.distef...@gmail.com wrote: The problem is not in a singular web page but in each page where prototype.js is referenced, because i need to bind functions on different HTML elements dependending on their classes (for example, each HTML textfield element with class date needs to be validate and so on ... ) So I think it's useless show you the code of a web page ... I get an Out of memory in almost each page of my application ... :'( On 23 Ott, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8
Its not prototype else it would happen to everyone. I asked for a pastebin of your page so we could see what else was being loaded and diagnose the problem. Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:43 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 The problem is not in a singular web page but in each page where prototype.js is referenced, because i need to bind functions on different HTML elements dependending on their classes (for example, each HTML textfield element with class date needs to be validate and so on ... ) So I think it's useless show you the code of a web page ... I get an Out of memory in almost each page of my application ... :'( On 23 Ott, 13:27, Alex McAuley webmas...@thecarmarketplace.com wrote: can you pastebin your page... Alex Mcauleyhttp://www.thevacancymarket.com - Original Message - From: Etha ev.distef...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Friday, October 23, 2009 12:13 PM Subject: [Proto-Scripty] Re: Out Of Memory Error in IE7 and IE8 None can help me? On 22 Ott, 14:59, Etha ev.distef...@gmail.com wrote: Hi, I'm using prototype.js 1.6.1 and I get memory leaks on IE7/8 when loading prototype library. The first error I get is handler is null or not an object, then when i reload my page, i get out of memory error. I've tried to disable each js function using prototype.js, so the error occurs just when loading the web page with a link to prototype.js. Anyone of you had the same problem? Can you help me? It's very important. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---