Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.6.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
Description
There are performance issues when using the selectInputDate component inside
Tree Nodes.
When the selectInputDate is used in large trees > 500 nodes an
javax.servlet.ServletException: java.lang.OutOfMemoryError is caused.
------------------- dump --------------------
javax.servlet.ServletException: java.lang.OutOfMemoryError
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:407)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.faces.el.EvaluationException: java.lang.OutOfMemoryError
com.sun.faces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:248)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:216)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:140)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:382)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
-------------------------------------------------------------------------
Tree Nodes.
When the selectInputDate is used in large trees > 500 nodes an
javax.servlet.ServletException: java.lang.OutOfMemoryError is caused.
------------------- dump --------------------
javax.servlet.ServletException: java.lang.OutOfMemoryError
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:407)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
javax.faces.el.EvaluationException: java.lang.OutOfMemoryError
com.sun.faces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:248)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:216)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.doPerComponentActions(RestoreViewPhase.java:209)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:140)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:268)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:382)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
-------------------------------------------------------------------------
Issue Links
- depends on
-
ICE-2038 selectInputDate renders invisible calendar when renderAsPopup, which decreases the performance when inside the dataTable or Tree
- Closed
Smaller trees < 50 nodes appear to perform in an acceptable time and do cause
OutOfMemoryErrors.