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 CiviContribute (Moderator: Donald Lobo) »
  • Contribution page requires a lot of memory & time.
Pages: [1]

Author Topic: Contribution page requires a lot of memory & time.  (Read 770 times)

johnws

  • Guest
Contribution page requires a lot of memory & time.
June 24, 2010, 03:03:11 am
Hello

I'm having problems with the contribution form. It requires hundreds of megabytes of ram and about 4 minutes time to create the user/contact/membership/contribution. This happens only after importing about 20000 contacts.

At first all we got was a blank page after confirming the contribution details. The contact was created but it had no membership or contribution.

After allowing up to 1024 megabytes of ram and 10 minutes execution time the membership was created and no blank page was shown. However, the user was redirected back to the confirmation page. The url to the page does show the correct parameter (civicrm/contribute/transact?_qf_ThankYou_display=true...) but the confirmation page is shown instead.

The MySQL slow query log does not appear to show anything related to the contribution attempt.

It's a Drupal 6.x+CiviCRM 3.1.x setup.


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: Contribution page requires a lot of memory & time.
June 24, 2010, 11:51:53 am

can u enable the mysql query log and check the query transactions. seems like you are running into  loop (involving the 20K contacts) abd hence its taking such a long time

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: Contribution page requires a lot of memory & time.
June 25, 2010, 09:11:53 am
I'm curious if you have any profiles included on the contribution page, and if so what types are fields are in the profiles.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Contribution page requires a lot of memory & time.

This forum was archived on 2017-11-26.