You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Daniel Peraza (JIRA)" <ji...@apache.org> on 2013/06/20 07:37:22 UTC

[jira] [Updated] (CMIS-677) Fatal error: Allowed memory size exhausted in includes/chemistry/phpclient/lib/cmis_repository_wrapper.php on line 221

     [ https://issues.apache.org/jira/browse/CMIS-677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Peraza updated CMIS-677:
-------------------------------

    Attachment: test.php

PHPUnit Test Case that proofs the problem
                
> Fatal error: Allowed memory size exhausted in includes/chemistry/phpclient/lib/cmis_repository_wrapper.php on line 221
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-677
>                 URL: https://issues.apache.org/jira/browse/CMIS-677
>             Project: Chemistry
>          Issue Type: Bug
>          Components: cmis-phplib
>    Affects Versions: PHPCMIS 0.1, PHPCMIS 0.2
>         Environment: Ubuntu GNU/Linux 12.10, x64. PHP 5.4.6, Apache 2.2.22
>            Reporter: Daniel Peraza
>              Labels: CURL, ERROR, HTTP, MEMORY, PHP
>         Attachments: test.php
>
>
> CMISRepositoryWrapper::doRequest() throws a memory limit error when trying to download files larger than the allowed memory limit set by php.ini file. This is caused because the request is performed through curl_exec() with the CURLOPT_RETURNTRANSFER option set on TRUE (line 185).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira