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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Out of Memory every time I add a new contact from front end
Pages: [1]

Author Topic: Out of Memory every time I add a new contact from front end  (Read 1221 times)

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
Out of Memory every time I add a new contact from front end
November 30, 2010, 05:21:40 pm
Here's a couple of the messages I get each time I try:

Fatal error: Out of memory (allocated 29360128) (tried to allocate 311296 bytes) in /homepages/38/d250681588/htdocs/dna/joomla/media/civicrm/templates_c/en_US/en_US/%%25/25B/25BD59AE%%if%7D%0A.php on line 1133

Fatal error: Out of memory (allocated 29360128) (tried to allocate 311296 bytes) in/homepages/38/d250681588/htdocs/dna/joomla/media/civicrm/templates_c/en_US/en_US/%%25/25B/25BD59AE%%if%7D%0A.php on line 1133


I see that I'm using PHP Version 5.2.14
memory_limit   40M   40M

I've tried using a Joomla plug and setting it to 40.
I've tried doing a php.ini file with these settings and saved in the administrator folder:
register_globals = Off
upload_max_filesize = 40M
post_max_size = 40M
memory_limit = 40M
upload_tmp_dir = 40M
max_execution_time = 180


Any other suggestions???

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: Out of Memory every time I add a new contact from front end
November 30, 2010, 08:17:27 pm
Quote
Fatal error: Out of memory (allocated 29360128) (tried to allocate 311296 bytes)

This suggest that your memory limit is around 28 MB

Kurund
Found this reply helpful? Support CiviCRM

newfoundcivicrm

  • I post occasionally
  • **
  • Posts: 42
  • Karma: 0
Re: Out of Memory every time I add a new contact from front end
December 12, 2010, 11:30:10 pm
Are you sure the values are actually being used? and if so are you sure that they are not being overwritten some where else?

if things are not working in the .htaccess then set then your php settings using ini_set() (you can google that one). I put them at the top in the settings.php file and it works perfect.

newfoundcivicrm

  • I post occasionally
  • **
  • Posts: 42
  • Karma: 0
Re: Out of Memory every time I add a new contact from front end
December 12, 2010, 11:31:05 pm
of course this is based on the assumption that you are using drupal.

MulderDSM

  • I post occasionally
  • **
  • Posts: 100
  • Karma: 0
  • CiviCRM version: 4.6.0
  • CMS version: Joomla 3.4.1
Re: Out of Memory every time I add a new contact from front end
December 13, 2010, 01:47:09 pm
I moved the site from 1and1 to GreenGeeks.com and all problems went away. 1and1 refused to increase memory above 30mb even though I host 32 domains with them.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Out of Memory every time I add a new contact from front end

This forum was archived on 2017-11-26.