0 Replies Latest reply on Aug 12, 2008 10:07 AM by Lotfi Mellouk

    OutOfMemoryError  using rich:tabPanel

    Lotfi Mellouk Master

      Hi all,

      Im using rich:tabPanel like:

      <rich:tabPanel id="admin" switchType="client"
       style="width:99%;">
       <rich:tab label="Company">
       <ui:include src="add_company.xhtml" />
       </rich:tab>
       <!-- 10 rich:tab at all-->
       </rich:tabPanel>
      


      it work's fine with 4 rich:tab, now with 10 rich:tab I get outOfmemory exception.

      java.lang.OutOfMemoryError: Java heap space
       java.util.Arrays.copyOf(Unknown Source)
       java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
       java.lang.AbstractStringBuilder.insert(Unknown Source)
       java.lang.StringBuffer.insert(Unknown Source)
       org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeMyFacesJavascriptBeforeBodyEnd(DefaultAddResource.java:726)
       org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:160)
       org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:154)
       org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:260)
       org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:366)
       org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:493)
      

      any ideas..?

      env: RF 3.2.2 july snapshot, myfaces 1.2.2.

      thanks!