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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • oops Fatal error: Allowed memory size of 268435456 bytes exhausted
Pages: [1]

Author Topic: oops Fatal error: Allowed memory size of 268435456 bytes exhausted  (Read 1196 times)

usr238496

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: joomla2.5
  • PHP version: 5 something
oops Fatal error: Allowed memory size of 268435456 bytes exhausted
June 20, 2012, 11:39:16 am
I have started to notice a fatal error occuring on my site at the bottom of the page. Trying to debug this, I have managed to get level where I can call one line of civi code to cause the error

I have uploaded a file into the root of my site folder, containing the following
Code: [Select]
<?php
require_once 'administrator/components/com_civicrm/civicrm/civicrm.config.php';
?>


After refreshing the page, 4-5 times, the fatal error occurs.
Code: [Select]
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 269003520 bytes) in Unknown on line 0
The php memory limit is set to 256mb, which should be sufficient for any site, as far I am aware.

Anyone got any advice how to debug this further. I am fairly certain I have done something that is happening to cause this, but am not sure how to move forward from this line of code to find out what is happening.

Any advice gratefully received
You did not answer the verification questions correctly - sigh

usr238496

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: joomla2.5
  • PHP version: 5 something
Re: oops Fatal error: Allowed memory size of 268435456 bytes exhausted
June 20, 2012, 11:54:09 am
Using joomla debug mode and just refreshing the home page, I can see in the debug code that,

Memory Usage
28.65 MB (30,042,448 Bytes)

But still the fatal error shows after all the debugging code.

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 353676032 bytes) in Unknown on line 0


So I thought my  256mb might infact be 26mb, but I doubled checked phpinfo within joomla, and by uploaded a phpinfo() file and it is set to 256m.
You did not answer the verification questions correctly - sigh

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • oops Fatal error: Allowed memory size of 268435456 bytes exhausted

This forum was archived on 2017-11-26.