fail uploading large video file to database
------------------------------------------- Key: OFBIZ-4621 URL: https://issues.apache.org/jira/browse/OFBIZ-4621 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Wai When trying to upload a 150MB video file to database, ofbiz reports java.lang.OutOfMemoryError: Java heap space. To reproduce the problem: -set content.properties/content.upload.always.local.file=false -use https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company -upload a large video file. Relevant trace attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wai updated OFBIZ-4621: ----------------------- Attachment: OFBIZ-4621-trace.txt > fail uploading large video file to database > ------------------------------------------- > > Key: OFBIZ-4621 > URL: https://issues.apache.org/jira/browse/OFBIZ-4621 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Reporter: Wai > Attachments: OFBIZ-4621-trace.txt > > > When trying to upload a 150MB video file to database, ofbiz reports java.lang.OutOfMemoryError: Java heap space. > To reproduce the problem: > -set content.properties/content.upload.always.local.file=false > -use https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company > -upload a large video file. > Relevant trace attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wai updated OFBIZ-4621: ----------------------- Environment: ofbiz with mysql > fail uploading large video file to database > ------------------------------------------- > > Key: OFBIZ-4621 > URL: https://issues.apache.org/jira/browse/OFBIZ-4621 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: ofbiz with mysql > Reporter: Wai > Attachments: OFBIZ-4621-trace.txt > > > When trying to upload a 150MB video file to database, ofbiz reports java.lang.OutOfMemoryError: Java heap space. > To reproduce the problem: > -set content.properties/content.upload.always.local.file=false > -use https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company > -upload a large video file. > Relevant trace attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166604#comment-13166604 ] Wai commented on OFBIZ-4621: ---------------------------- The problem is that mysql server was not configured to accept a packet of data of specified size. To fix the problem: 1)need to modify mysql's my.cnf, max_allowed_packet to a value larger than the size of uploaded file. or 2)start mysql server with the following: mysqld --max_allowed_packet=some_larger_value > fail uploading large video file to database > ------------------------------------------- > > Key: OFBIZ-4621 > URL: https://issues.apache.org/jira/browse/OFBIZ-4621 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: ofbiz with mysql > Reporter: Wai > Attachments: OFBIZ-4621-trace.txt > > > When trying to upload a 150MB video file to database, ofbiz reports java.lang.OutOfMemoryError: Java heap space. > To reproduce the problem: > -set content.properties/content.upload.always.local.file=false > -use https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company > -upload a large video file. > Relevant trace attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wai closed OFBIZ-4621. ---------------------- Resolution: Not A Problem It's a mysql configuration issue. > fail uploading large video file to database > ------------------------------------------- > > Key: OFBIZ-4621 > URL: https://issues.apache.org/jira/browse/OFBIZ-4621 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: ofbiz with mysql > Reporter: Wai > Attachments: OFBIZ-4621-trace.txt > > > When trying to upload a 150MB video file to database, ofbiz reports java.lang.OutOfMemoryError: Java heap space. > To reproduce the problem: > -set content.properties/content.upload.always.local.file=false > -use https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company > -upload a large video file. > Relevant trace attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wai updated OFBIZ-4621: ----------------------- Summary: fail uploading large binary file to database (was: fail uploading large video file to database) > fail uploading large binary file to database > -------------------------------------------- > > Key: OFBIZ-4621 > URL: https://issues.apache.org/jira/browse/OFBIZ-4621 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: ofbiz with mysql > Reporter: Wai > Attachments: OFBIZ-4621-trace.txt > > > When trying to upload a 150MB video file to database, ofbiz reports java.lang.OutOfMemoryError: Java heap space. > To reproduce the problem: > -set content.properties/content.upload.always.local.file=false > -use https://http://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=Company > -upload a large video file. > Relevant trace attached. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |