CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Out of memory error on Dedupe - 3.4.5
Pages: [1]

Author Topic: Out of memory error on Dedupe - 3.4.5  (Read 1520 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Out of memory error on Dedupe - 3.4.5
September 18, 2011, 10:03:02 pm
    Running a 3.4.5 install, getting this error:

Quote
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /home/members/cpasf/sites/cpasf.org/web/sites/all/modules/civicrm/packages/DB/DataObject.php on line 560

Details:

* While running the default email=10 strict dedupe rule.
* Nothing written to the CiviCRM error log as result of the error.
* Other memory consuming tasks such as: print PDF, doing search for all 'individual' contacts, etc do not cause a out-of-memory error[/list]
* What is in DataObject.php at line 560?  This:
 
Code: [Select]
$keys = str_replace(array("."," "), "_", array_keys($array));* Tried another dedupe rule with same result
* PHP:    5.3.3-7+squeeze3
* MySQL: 5.1.49
* See this strange message on Drupal Status Report for this host:
   
Quote
Performance logging APC memory size   30
APC has been configured for 30, which is less than the recommended 48 MB of memory. If you encounter errors when viewing the summary report, then try to increase that limit for APC.



Any idea?  THANKS!  :) :)

« Last Edit: September 18, 2011, 10:05:16 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Out of memory error on Dedupe - 3.4.5
September 19, 2011, 07:51:17 am

1. how big is the dedupe set?

2. where u get an OOM error is a bit immaterial (its a bit random based on various factors). So that line in DAO is not very useful

3. that APC message is odd, can u increase your APC memory size and see if that helps

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Out of memory error on Dedupe - 3.4.5
September 19, 2011, 09:42:43 am
The database is 2900 individuals (most of whom have emails) so I guess that is roughly the dedupe set for the default strict rule.

I will ask the host (who is kind of weird, and not my recommendation BTW  :)  ) to raise the APC.  thanks

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Out of memory error on Dedupe - 3.4.5

This forum was archived on 2017-11-26.