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 (Created) (JIRA)" <ji...@apache.org> on 2011/12/08 19:37:41 UTC

[jira] [Created] (OFBIZ-4621) fail uploading large video file to database

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

        

[jira] [Commented] (OFBIZ-4621) fail uploading large video file to database

Posted by "Wai (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (OFBIZ-4621) fail uploading large video file to database

Posted by "Wai (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (OFBIZ-4621) fail uploading large video file to database

Posted by "Wai (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (OFBIZ-4621) fail uploading large binary file to database

Posted by "Wai (Updated) (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Closed] (OFBIZ-4621) fail uploading large video file to database

Posted by "Wai (Closed) (JIRA)" <ji...@apache.org>.
     [ 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