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) »
  • Finding Duplicate Contacts - Running out of memory - CiviCRM 1.9
Pages: [1]

Author Topic: Finding Duplicate Contacts - Running out of memory - CiviCRM 1.9  (Read 1190 times)

yasheshb

  • I post occasionally
  • **
  • Posts: 72
  • Karma: 5
Finding Duplicate Contacts - Running out of memory - CiviCRM 1.9
December 11, 2007, 05:51:12 am
Hello,

     I'm running into a problem with Finding Duplicate Individuals and wanted to share my experience and get advice.

Configuration Details

Intel Dual Core P4 3Ghz CPU
1Gb DDR RAM

Fedora Core 6
Drupal 5.3
CiviCRM 1.9

Table sizes (rows)
civicrm_contact - 263,571
civicrm_individual - 240,795
civicrm_location - 250,096
civicrm_email - 247,382

The dedupe rule for Individual is
Email : 11
Threshold: 10

Now i tried to find duplicate individuals with the deduping feature and it broke down 4 times.

Fatal error: Maximum execution time of 30 seconds exceeded in /work/projects/testsites/civicrm1/www/sites/all/modules/civicrm/CRM/Dedupe/Finder.php on line 98
Fatal error: Maximum execution time of 1200 seconds exceeded in /work/projects/testsites/civicrm1/www/sites/all/modules/civicrm/CRM/Dedupe/Finder.php on line 98
Fatal error: Maximum execution time of 3600 seconds exceeded in /work/projects/testsites/civicrm1/www/sites/all/modules/civicrm/CRM/Dedupe/Finder.php on line 98

The above 3 were fixed by increasing the max_execution_time in php.ini

finally after increasing the time to 1 day it broke down for lack of memory
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 999700 bytes) in /work/projects/testsites/civicrm1/www/sites/all/modules/civicrm/CRM/Dedupe/Finder.php on line 98

the memory_limit is 128M.
Has anyone seen such problems before, is it advisable to bump up the memory from 128Mb to 256Mb ?
Any other ways to get this up and running ?

Thanks.

Yashesh Bhatia

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: Finding Duplicate Contacts - Running out of memory - CiviCRM 1.9
December 11, 2007, 01:50:51 pm

dedupe does have quite a few memory issues in 1.9. We hope to address some of this in 2.0 and do a fair amount of dedupe work in a future 2.x release

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Finding Duplicate Contacts - Running out of memory - CiviCRM 1.9

This forum was archived on 2017-11-26.