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 CiviReport (Moderator: Dave Greenberg) »
  • Exceeding Memory Limit when creating a report from a custom template
Pages: [1]

Author Topic: Exceeding Memory Limit when creating a report from a custom template  (Read 965 times)

axlroach

  • I’m new here
  • *
  • Posts: 22
  • Karma: 0
Exceeding Memory Limit when creating a report from a custom template
December 29, 2010, 04:57:34 am
Has anyone ever had any "running out of memory"  trouble with custom reports?  I've got 3 custom reports that all query every contact and left join them to a lot of other data (address, phone numbers, etc).  With just over 30,000 contacts, I get an out of memory error when trying to preview any of the 3 reports from the create report from templates page so that I can then create a report based on my custom templates.  I bumped the memory_limit in the php.ini file up and 2 of the 3 started working -- that is, it was able to load the page after clicking the 'preview' button on the 'create report from template' page .  However, I've raised memory_limit as high as 10240M and still the last of my 3 reports will not work.  I always get the out of memory error and the page containing the 'create report' section will not load.  If I alter the query to only yield one or two results then it works fine.  Does anyone have any ideas?

thanks,
axlroach

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Exceeding Memory Limit when creating a report from a custom template
December 29, 2010, 06:26:19 am
May be you should look at the code and try to optimize it.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Exceeding Memory Limit when creating a report from a custom template

This forum was archived on 2017-11-26.