Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20018

Not showing Contributions popup on big DB. Allowed memory size exhausted

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Payment Status:
      Estimate Needed
    • Verified?:
      No

      Description

      We are using civicrm on drupal.
      Our db has more than 2,400,000 contributions

      After update on civi 4.7.16 when click on "View" button for Contribution it shows "Network Error
      Unable to reach the server. Please refresh this page in your browser and try again."

      This error appears in "Contributions" tab in "Contact" view and in "Contributions" list when search contributions.
      When clicking "Edit" button, everything works.

      In log we found this: `PHP Fatal error: Allowed memory size of 536870912 bytes (tried to allocate 32 bytes) in /var/www/html/drupal/public_html/sites/all/modules/civicrm/packages/DB/DataObject.php on line 559`

      Was giving it 1Gb RAM, same error.

      Tested on a small db with test data, everything works. So this bug works only on very big DB...

      tested with php5.5 and php 7.0
      also tested on cluster with 3 nodes and on a single node install, same error.

      bug is showing on civi 4.7.14 - 4.7.16
      civi 4.7.13 works fine.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              avazor Alex Semion
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: