Jump to content


out of memory

memory error

7 replies to this topic

#1 segurosrivadavia

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 11 July 2012 - 01:57 PM

LiveZilla gives the 500 error in the log of sample PHP Fatal error: out of memory. example copy of the log:

[10-Jul-2012 13:56:17 UTC] PHP Fatal error: Out of memory (allocated 3145728) (tried to allocate 28672 bytes) in C:\WWW\MiAplicacion\livezilla\_lib\objects.internal.inc.php on line 276

[10-Jul-2012 15:39:55 UTC] PHP Fatal error: Out of memory (allocated 786432) (tried to allocate 28672 bytes) in C:\WWW\MiAplicacion\livezilla\_lib\objects.global.users.inc.php on line 782

#2 Derek Punzova

    Support Team Member

  • Moderators
  • 6057 posts

Posted 11 July 2012 - 02:04 PM

I think you will have to increase your memory limit.

If you don't know how to do this, please get in touch with your webhosting company.
- If you like to suggest a new feature, please click here.
Kind Regards,
Derek

#3 segurosrivadavia

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 August 2012 - 01:02 PM

Derek Thanks for your response.
The server is ours and I am the administrator.
It has 4GB of memory and the php.ini variable memory_limit = 2GB
The server is dedicated to serving LiveZilla.
What is the recommended configuration to work? Any suggestions?

#4 segurosrivadavia

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 August 2012 - 01:18 PM

My server configuration is:
Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8i
Php 5.4.4
MySql 5.1.39

#5 Patrick Keil

    Administrator

  • Administrators
  • 603 posts
  • LocationSingen, Germany

Posted 21 August 2012 - 01:23 PM

The PHP configuration value that should be increased is memory_limit. Depending on your host, this can be done in a number of places with the most likely being php.ini or .htaccess depending on your hosting situation. Add for example:
  • memory_limit = 196M to your php.ini file (recommended, if you have access)
  • With root access, you can use the sed util in Linux/Unix based systems, in order to increase the memory for 196M. Don't forget to properly locate your php.ini file! sed -i 's/memory_limit = .*/memory_limit = 196M/' /etc/php5/apache2/php.ini
  • php_value memory_limit 196M to your .htaccess file in the LiveZilla root


#6 segurosrivadavia

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 August 2012 - 01:44 PM

Hellow Patrick, I'm the server administrator.
My server has MS Windows Server 2003 R2
And I probe to increment the memory_limit to 2gb and I check it with php_info, but the problem persist.
do you recommend to lower it to 196mb?

#7 Patrick Keil

    Administrator

  • Administrators
  • 603 posts
  • LocationSingen, Germany

Posted 21 August 2012 - 02:06 PM

The more, the better. It's unlikely to receive the same error message when having plenty of memory available. Did you restart the server?

How many visitor do you have per day?
Can you provide me with a link to the php info file?

If you are using an IIS webserver, please increase the Request & Activity Timeout value to at least 90 seconds.
http://learn.iis.net...ycling_Behavior

#8 segurosrivadavia

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 21 August 2012 - 03:20 PM

The web server is Apache (see post above)

We have 50-60 chats per day, we've 50 operator on-line today.

Phpinfo:
https://www.sistemas...hpinfo_chat.pdf





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users