You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wai (Commented) (JIRA)" <ji...@apache.org> on 2011/12/09 22:57:39 UTC
[jira] [Commented] (OFBIZ-4621) fail uploading large video file to
database
[ 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