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 of 33554432 bytes exhausted (tried to allocate
Pages: [1]

Author Topic: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate  (Read 3176 times)

sewen

  • Guest
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
July 25, 2008, 08:11:53 am
Hi,

If this is answered elsewhere I apologize. 

We have been using a Multi-Select field to hold and display (and allow people to choose) our Categories.  A typical Category can be: "Contractor-Kitchen and Bath Design, Remodeling/Planning-Home Interior Design"  and there can be 150-250 Categories.  When we go back to edit the categories this is the error we get:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 266241 bytes) in /home/hillsdal/public_html/media/civicrm/templates_c/en_US/en_US/%%8B/8BF/8BF30E03%%Option.tpl.php on line 25

Where should I attack this problem:  1)at the php level,  2) tpl (template) level, 3) field level??
I'm not a coder by nature so please be kind with your answer.

MichaƂ Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
July 25, 2008, 08:50:22 am
Hey,

It has been replied multiple times - please do a search on "memory size" on this forum, you'll find multiple answers on how to solve the problem.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

sewen

  • Guest
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
July 25, 2008, 10:05:24 am
Thanks.

I did read the other entries.

I increased the php memory_limit in 16MB intervals starting at the default 32M, e.g.  32M,48M,64M,80M,...  The magic number was 90MB.  Why would 1 field edit require 58MB more memory (90MB-32MB)??

« Last Edit: July 25, 2008, 11:31:40 am by sewen »

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to alloc
October 06, 2008, 06:55:28 am
Something odd has happened.  I did the suggested search and found only this thread.

So the PHP Memory Size must be somewhere between 32 and 90 M?

Thanks,
Ken

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

This forum was archived on 2017-11-26.