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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • 500 Error: emalloc(): Unable to allocate 39 bytes
Pages: [1]

Author Topic: 500 Error: emalloc(): Unable to allocate 39 bytes  (Read 5201 times)

jlhurd

  • Guest
500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 07:08:01 pm
After installing CiviCRM, I'm getting the standard blank screen / 500 Internal Server Error.

The Apache Error that I get is:
FATAL:  emalloc():  Unable to allocate 39 bytes

I'm using the latest version of CiviCRM 1.7.  MySQL 5.0, PHP 5.0.

Any ideas?  Any more information that I should post?

Thanks,

Josh

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 08:21:49 pm
This is a memory allocation error - so you might want to check/increase your PHP memory limit. Memory requirements vary depending on what other modules are loaded.
Protect your investment in CiviCRM by  becoming a Member!

jlhurd

  • Guest
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 08:25:25 pm
The site works fine until I get into the CiviCRM module - then I get the error.

I get the error with both 8mb memory limit and 16mb memory limit, so I'm thinking that the memory_limit part in php.ini doesn't have much to do with it.

jlhurd

  • Guest
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 08:26:58 pm
I also have a working installation of Drupal and CiviCRM on the same host, but a different account configured with PHP 4 and MySQL 4, if that helps at all.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 08:49:04 pm

u might want to set the memory limit to 32m

if this does not work, then make sure you have changed the right php file and verify the memory limit is 32m using phpinfo()

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jlhurd

  • Guest
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 08:59:27 pm
I set it to 32mb, and I'm still getting the problem.  However, in phpinfo(), I can't seem to find the memory_limit in it.

http://wildlandscpr.modwest.com/phpinfo.php

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 09:08:24 pm

no idea why your phpinfo() does not show that. you might want to check with your local php / sysadmin expert

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

jlhurd

  • Guest
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 15, 2007, 09:10:50 pm
I just send an email to technical support for my server - they should get back to me tomorrow.  I'll post on here what they end up saying.

jlhurd

  • Guest
Re: 500 Error: emalloc(): Unable to allocate 39 bytes
July 16, 2007, 12:01:41 pm
The techies said that I ran into a server-side memory limit of 32mb.  This seems crazy though - I shouldn't be running up that much memory, should it?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • 500 Error: emalloc(): Unable to allocate 39 bytes

This forum was archived on 2017-11-26.