Handle Large Record sets in Print and Export of FacilityInventoryByProduct
-------------------------------------------------------------------------- Key: OFBIZ-383 URL: http://issues.apache.org/jira/browse/OFBIZ-383 Project: OFBiz (The Open for Business Project) Issue Type: Improvement Components: product Reporter: Anil K Patel ViewFacilityInventoryByProduct Screen has Export and Print options. These requests fails with following error. What is the best way to handle this print/ export so process will complete without fail. May be : NOTIFY USER THAT LIST IS TOO BIG, THEY SHOULD PROVIDE INFORMATION TO FILTER THE LIST TO MANAGEABLE NUMBER. 2006-10-18 22:25:27,277 (http-0.0.0.0-8443-Processor4) [ PageSequence.java:393:INFO ] [3] 2006-10-18 22:25:31,256 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] ---- error report -------------------------------------------------------------- Error in request handler: Exception: java.lang.OutOfMemoryError Message: Java heap space ---- stack trace --------------------------------------------------------------- java.lang.OutOfMemoryError: Java heap space -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ http://issues.apache.org/jira/browse/OFBIZ-383?page=comments#action_12443313 ]
Jacopo Cappellato commented on OFBIZ-383: ----------------------------------------- Anil, I fear that there's nothing that we can do for this at the moment to fix this since it can also depend on the hardware and memory settings of the JVM. However in rev 465312 I've decreased default pagination size for pdf and xml versions of the report (from 500 to 200). > Handle Large Record sets in Print and Export of FacilityInventoryByProduct > -------------------------------------------------------------------------- > > Key: OFBIZ-383 > URL: http://issues.apache.org/jira/browse/OFBIZ-383 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Reporter: Anil K Patel > > ViewFacilityInventoryByProduct Screen has Export and Print options. These requests fails with following error. > What is the best way to handle this print/ export so process will complete without fail. > May be : NOTIFY USER THAT LIST IS TOO BIG, THEY SHOULD PROVIDE INFORMATION TO FILTER THE LIST TO MANAGEABLE NUMBER. > 2006-10-18 22:25:27,277 (http-0.0.0.0-8443-Processor4) [ PageSequence.java:393:INFO ] [3] > 2006-10-18 22:25:31,256 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- error report -------------------------------------------------------------- > Error in request handler: > Exception: java.lang.OutOfMemoryError > Message: Java heap space > ---- stack trace --------------------------------------------------------------- > java.lang.OutOfMemoryError: Java heap space -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-383?page=comments#action_12443315 ]
Anil K Patel commented on OFBIZ-383: ------------------------------------ Jacopo, Thanks this works for me. > Handle Large Record sets in Print and Export of FacilityInventoryByProduct > -------------------------------------------------------------------------- > > Key: OFBIZ-383 > URL: http://issues.apache.org/jira/browse/OFBIZ-383 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Reporter: Anil K Patel > > ViewFacilityInventoryByProduct Screen has Export and Print options. These requests fails with following error. > What is the best way to handle this print/ export so process will complete without fail. > May be : NOTIFY USER THAT LIST IS TOO BIG, THEY SHOULD PROVIDE INFORMATION TO FILTER THE LIST TO MANAGEABLE NUMBER. > 2006-10-18 22:25:27,277 (http-0.0.0.0-8443-Processor4) [ PageSequence.java:393:INFO ] [3] > 2006-10-18 22:25:31,256 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- error report -------------------------------------------------------------- > Error in request handler: > Exception: java.lang.OutOfMemoryError > Message: Java heap space > ---- stack trace --------------------------------------------------------------- > java.lang.OutOfMemoryError: Java heap space -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ http://issues.apache.org/jira/browse/OFBIZ-383?page=all ]
Jacopo Cappellato closed OFBIZ-383. ----------------------------------- Resolution: Fixed Assignee: Jacopo Cappellato Anil, I will close this issue since the temp solution I've provided seems to be acceptable... and I don't see many other options right now. > Handle Large Record sets in Print and Export of FacilityInventoryByProduct > -------------------------------------------------------------------------- > > Key: OFBIZ-383 > URL: http://issues.apache.org/jira/browse/OFBIZ-383 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: product > Reporter: Anil K Patel > Assigned To: Jacopo Cappellato > > ViewFacilityInventoryByProduct Screen has Export and Print options. These requests fails with following error. > What is the best way to handle this print/ export so process will complete without fail. > May be : NOTIFY USER THAT LIST IS TOO BIG, THEY SHOULD PROVIDE INFORMATION TO FILTER THE LIST TO MANAGEABLE NUMBER. > 2006-10-18 22:25:27,277 (http-0.0.0.0-8443-Processor4) [ PageSequence.java:393:INFO ] [3] > 2006-10-18 22:25:31,256 (http-0.0.0.0-8443-Processor4) [ ControlServlet.java:181:ERROR] > ---- error report -------------------------------------------------------------- > Error in request handler: > Exception: java.lang.OutOfMemoryError > Message: Java heap space > ---- stack trace --------------------------------------------------------------- > java.lang.OutOfMemoryError: Java heap space -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |