0 Replies Latest reply on Apr 11, 2011 4:55 PM by Hima Kos

    rich:scrollableDataTable maximum rows?

    Hima Kos Newbie

      Hi all,

       

      I am using richfaces 3.3.3

      I am trying to display 60,000 rows in rich:scrollableDataTable. Obviously thats a lot of rows and I am running into the following.

      java.lang.OutOfMemoryError: Java heap space

          org.ajax4jsf.io.CharBuffer.<init>(CharBuffer.java:59)

          org.ajax4jsf.io.CharBuffer.append(CharBuffer.java:120)

          org.ajax4jsf.io.CharBuffer.append(CharBuffer.java:122)

       

      I have server side state saving.

      Is there a maximum limit for the number of rows in rich:scrollableDataTable?

       

      I will show an error message instead of table if the rows exceed the limit. It will nice if

      rich:scrollableDataTable does this automatically instead of throwing OutOfMemoryError.

       

      Thanks,

      Bindu