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 (Moderator: Dave Greenberg) »
  • Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)
Pages: [1]

Author Topic: Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)  (Read 3467 times)

mljhilton

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal v6.15
  • MySQL version: 5.1.56
  • PHP version: 5.3.8
Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)
February 12, 2012, 10:00:26 am
I have installed CiviCRM 3.4.8 with Drupal 6.15, MySQL 5.1.56, and PHP 5.3.8 on Host Papa.
I have performed initial configuration and then set up an event.

In Event Manager, the event shows with everything struck through, and when I try to view the event, on the Event Information page I get the message: "Sorry. A non-recoverable error has occurred.  The page you requested is currently unavailable."

Undeterred, I then set up an Event Template and used it to set up the event again.  This time it was successful.  When I click on the event I get the proper event details page, headed by the name of the event, with the [Register Onlline] button at the bottom.

Problem:  When I clilck the [Register Online] button I get a white screen with the following message:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 78 bytes) in /home/grfnbfr/public_html/makeadifferencemalawi.com/includes/cache.inc on line 33

(The number of bytes it tries to allocate varies, but it's usually between 70 and 80.  It's certainly nowhere near 64MB!)

I have cleared the Drupal cache.
I have truncated the three CiviCRM cache tables.
I have, within Drupal modules, uninstalled and then re-installed CiviCRM.
None of this has made any difference.
I have searched the forums, but to no avail.

If I go to Events > Register Event Participant, it works OK, but not if I go via the Event itself.

Has anyone had a similar problem?
Has anyone any idea what is going on here?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)
February 12, 2012, 11:56:50 am
Quote from: mljhilton on February 12, 2012, 10:00:26 am
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 78 bytes) in /home/grfnbfr/public_html/makeadifferencemalawi.com/includes/cache.inc on line 33

(The number of bytes it tries to allocate varies, but it's usually between 70 and 80.  It's certainly nowhere near 64MB!)

Hi. What that error means is that you only have 64 MB (the number 67108864 is actually 64 MB) RAM and you have reached your limit. The part "tried to allocate 78 bytes" means it tried to allocate an additional 78 bytes and that additional memory will take you over 64 MB, thus it was denied.

Please note here: http://civicrm.org/aboutcivicrm that the CiviCRM team says:

Quote
128mb PHP memory limit recommended

So I would recommend you either ask your host for more RAM, or find a different host who can support CiviCRM.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

mljhilton

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4.8
  • CMS version: Drupal v6.15
  • MySQL version: 5.1.56
  • PHP version: 5.3.8
Re: Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)
February 12, 2012, 12:34:19 pm
Thanks, Hershel.  Good point.  I'll see if they're willing to increase the memory size.
Am I correct in assuming that this is the memory_limit parameter in php.ini?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)
February 12, 2012, 12:36:56 pm
Yes.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Fatal error: Allowed memory size ... exhausted (tried to allocate xx bytes)

This forum was archived on 2017-11-26.