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 CiviMember (Moderator: Deepak Srivastava) »
  • CiviMember Fatal Error (insufficient memory)
Pages: [1]

Author Topic: CiviMember Fatal Error (insufficient memory)  (Read 1193 times)

Simon147

  • I post occasionally
  • **
  • Posts: 96
  • Karma: 3
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.30
  • MySQL version: 5.0.92
  • PHP version: 5.2.9
CiviMember Fatal Error (insufficient memory)
January 23, 2011, 11:39:37 am
Hello all,

I've just finished configuring CiviCRM on my website. But when testing it, I get the following error message:
Code: [Select]
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1966080 bytes) in /home/hubvd/public_html/sites/all/modules/civicrm/packages/dompdf/lib/class.pdf.php(2219) : eval()'d code on line 5914
Is this normal that this takes so much memory? And is there a workaround other then increase memory?

Simon

Simon147

  • I post occasionally
  • **
  • Posts: 96
  • Karma: 3
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7.30
  • MySQL version: 5.0.92
  • PHP version: 5.2.9
Re: CiviMember Fatal Error (insufficient memory)
January 23, 2011, 11:42:44 am
As it seams, already others have had this problem, but in another context:
http://wiki.civicrm.org/confluence/display/CRM/Adding+PTP%27s+Canvass+and+PhoneBank+Report+to+CiviCRM

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: CiviMember Fatal Error (insufficient memory)
January 23, 2011, 05:35:19 pm

yes, not a lot we can do about it. PDF generation seems to be memory intensive

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: CiviMember Fatal Error (insufficient memory)
January 24, 2011, 09:48:52 am
You'll need at least 128MB PHP memory to reliably print PDFs.  You (according to your error) are running at only 64MB.  128MB is the recommended settings for CiviCRM.  I try to use 192MB.

If your PDF generation eats up more than 128MB it could be because the script is in some sort of infinite loop.  PDF generation often fails with a white screen and a 'out of memory' error, but at your low memory it could truly be just a matter of increasing the memory and your problem is solved.  Give it a try.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • CiviMember Fatal Error (insufficient memory)

This forum was archived on 2017-11-26.