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) »
  • memory exhausted running membership detail report to pdf
Pages: [1]

Author Topic: memory exhausted running membership detail report to pdf  (Read 897 times)

vmurphy

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Joomla 1.7.0
  • MySQL version: 5.1.56
  • PHP version: 5.3.9
memory exhausted running membership detail report to pdf
January 30, 2012, 09:13:51 am
Hi,
  When trying to output membership detail report to pdf I hit a memory error:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes)
My php memory_limit = 128M (max allowed by shared hosting environment)
All works ok with 60-70 contacts but anything over that blows memory.
This is joomla 1.7.3 civicrm 4.0.8 php 5.3.9
Any advise much appreciated.

Thanks.

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: memory exhausted running membership detail report to pdf
January 30, 2012, 10:41:57 am

yes the pdf library has some fairly significant memory limitations :(

u'll need to do the below manually in chunks of 50 members.

This has been coming up quite often and would be good if we can figure out a solution

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

vmurphy

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Joomla 1.7.0
  • MySQL version: 5.1.56
  • PHP version: 5.3.9
Re: memory exhausted running membership detail report to pdf
January 31, 2012, 04:48:11 am
Thanks for the info.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • memory exhausted running membership detail report to pdf

This forum was archived on 2017-11-26.