Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-677

Fatal error: Allowed memory size exhausted in includes/chemistry/phpclient/lib/cmis_repository_wrapper.php on line 221

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: PHPCMIS 0.1, PHPCMIS 0.2
    • Fix Version/s: None
    • Component/s: cmis-phplib
    • Environment:

      Ubuntu GNU/Linux 12.10, x64. PHP 5.4.6, Apache 2.2.22

      Description

      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).

        Attachments

        1. test.php
          2 kB
          Daniel Peraza

          Activity

            People

            • Assignee:
              richardm Richard McKnight
              Reporter:
              danielperaza Daniel Peraza
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: