Allowed memory size of..bytes exhausted (tried to allocate)

Discussion regarding Joomla! Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
kraksa
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Thu Jun 08, 2006 3:46 pm

Allowed memory size of..bytes exhausted (tried to allocate)

Post by kraksa » Sat Nov 21, 2009 3:37 pm

In version 1.0 I stuck
this string in php.ini or configuration_php php_value memory_limit 32M or Simla.
In Joomla 1.5 where paste this line and which line?

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19658
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Allowed memory size of..bytes exhausted (tried to allocate)

Post by dhuelsmann » Sat Nov 21, 2009 4:56 pm

Your memory_limit size for executing scripts as set in php.ini has been exhausted. Increase it to 32M by asking your host if on a shared server and you don't have access to php.ini or increase it through .htaccess (if allowed by your host) by including this in the .htaccess file:

Code: Select all

php_value memory_limit 32M 
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

kraksa
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Thu Jun 08, 2006 3:46 pm

Re: Allowed memory size of..bytes exhausted (tried to allocate)

Post by kraksa » Sat Nov 21, 2009 11:05 pm

This file htaccess file is TXT ... where I have to insert the code in which string?
Somebody tell to insert this code in configuration.php o ini.php but doesen't work.
In tthe old version of joomla i.e 1.0 that string run well.

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19658
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: Allowed memory size of..bytes exhausted (tried to allocate)

Post by dhuelsmann » Sat Nov 21, 2009 11:25 pm

Put it at the top of the file and rename the file to just .htaccess (note the leading period)
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

kraksa
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Thu Jun 08, 2006 3:46 pm

Re: Allowed memory size of..bytes exhausted (tried to allocate)

Post by kraksa » Sat Nov 21, 2009 11:36 pm

I searched all day but no post explained me this bug. I will search again.

Thanks

kraksa
Joomla! Intern
Joomla! Intern
Posts: 51
Joined: Thu Jun 08, 2006 3:46 pm

Re: Allowed memory size of..bytes exhausted (tried to allocate)

Post by kraksa » Sun Nov 22, 2009 11:20 am

Hi dhuelsmann,

I need your help ... I do not find the answer. I had a problem with Allowed memory size of..bytes exhausted and module multitabs. If you can provide me a link with a explained solution i.e. raight string and where a put this string :)
I have already try to insert these solutions:

string: php_value memory_limit 32M
file: configuration.php
file: php.ini whit 3 different scripts
file: .htaccess respond me internal error server 500

1. Inserted this string in general folder Administrator, no run
2. Inserted this string in general folder Administrator and in module multitabs no run.
3. Inserrted this string in general folder Administrator and libraries, as indicate the error sometimes, no run

I can't stop to work

Thank you

User avatar
D14N
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Fri Jan 15, 2010 9:29 pm
Location: Palembang
Contact:

Re: Allowed memory size of..bytes exhausted (tried to allocate)

Post by D14N » Fri Mar 12, 2010 8:34 pm

kraksa wrote:This file htaccess file is TXT ... where I have to insert the code in which string?
Somebody tell to insert this code in configuration.php o ini.php but doesen't work.
In tthe old version of joomla i.e 1.0 that string run well.

Thanks for tips.


Locked

Return to “Performance - 1.0.x”