3 Replies Latest reply on Aug 3, 2011 2:11 PM by lcbdl888

    Out of memory at line: 251 with IE 7 or 8.

    lcbdl888

      Hi, I am using Seam + Richfaces 3.3.3.final.  When I go to a page that has a lot of components in it.  I got an Out of memory at line 251 dialog when I press any key in whatever input box, calendar, etc.  It only happens with IE.  There is no problem with FF or Chrome.  I'll appreciate if anybody give me any suggestion.

        • 1. Re: Out of memory at line: 251 with IE 7 or 8.
          lcbdl888

          I saw this error message from IE 8 Developer Tools

           

          Out of memory  3_3_3.Final        org.ajax4jsf.javascript.AjaxScript, line 251 character 61

           

          The code is

           

          var key=hotkey.toUpperCase();document.onkeydown=function(e){if(window.event){e=window.event;};if(String.fromCharCode(e.keyCode)==key&e.shiftKey&e.ctrlKey){LOG.LEVEL=level;LOG.openWindow(name,'width='+width+',height='+height+',toolbar=no,scrollbars=yes,location=no,statusbar=no,menubar=no,resizable=yes,left = '+((screen.width-width)/2)+',top ='+((screen.height-height)/2));}else{if(LOG._onkeydown)LOG._onkeydown(e);};}}

          • 2. Re: Out of memory at line: 251 with IE 7 or 8.
            lcbdl888

            The exception happend at "LOG._onkeydown(e)",  Anybody can help me how to disable the LOG, the script is in Richfaces jar files.   

            • 3. Re: Out of memory at line: 251 with IE 7 or 8.
              lcbdl888

              Finally I find the reason.  In components.xml of Seam framework, if change the line below to debug="false",  the problem will not come out.

               

              <core:init debug="true" jndi-pattern="@jndiPattern@"/>