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) »
  • Memory Allocation errors
Pages: [1]

Author Topic: Memory Allocation errors  (Read 1346 times)

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Memory Allocation errors
December 09, 2008, 05:40:21 am
Hi,

I'm getting these messages

Doing a simple group search (maybe 150 records in the group) in the administrator

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 47 bytes) in /home/open/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Component.php on line 197



After searching for a city the first time in a front end profile:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes) in /home/open/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php on line 872


Again, I don't like seeing this exposed in the front end ... but why is this happening? Is there some server issue I need to deal with?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Memory Allocation errors
December 09, 2008, 05:57:07 am
your php memory is timing out. you need to increase this memory size. CiviCRM recommends 64M for your memory, but on many sites (mine included) you have to go even higher. find out what your memory is set right now (if you don't know how to do that, you can follow the quick instructions on this page: http://docs.simplemachines.org/index.php?topic=479)

if it's not set at 64M yet, try that first. if it's already there or higher, increase or double it.

this is a very common thing; if you want to find out more about it and how it often affects civicrm, a simple google search will get you loads of results: http://www.google.com/search?q=civicrm+php+fatal+error+memory

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Memory Allocation errors

This forum was archived on 2017-11-26.