Fatal error: Allowed memory size of 268435456 bytes exhausted

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
raycos
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Dec 06, 2021 11:41 am

Fatal error: Allowed memory size of 268435456 bytes exhausted

Post by raycos » Mon Dec 06, 2021 12:16 pm

When I try to open my site home page http://www.paolopurri.altervista.org/joomla/ I have the message:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /membri/paolopurri/joomla/libraries/joomla/registry/registry.php on line 816

Forum Post Assistant gives to me these details:
Forum Post Assistant (v1.6.3) : 6-Dec-2021 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 2.5.28-Stable (Ember) 10-December-2014
Joomla! Platform :: Joomla Platform 11.4.0-Stable (Brian Kernighan) 03-Jan-2012
Joomla! Configured :: Yes | Writable (664) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: N/A | FTP Layer: false | Proxy: N/A | LiveSite: Is Not Empty | Session lifetime: 15 | Session handler: database | Shared sessions: N/A | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 2.5.28: Yes | Database Supports J! 2.5.28: Yes | Database Credentials Present: Password missing |

Host Configuration :: OS: | OS Version: | Technology: | Web Server: Apache | Encoding: gzip | System TMP Writable: Yes | Free Disk Space : Unknown |

PHP Configuration :: Version: 5.6.40 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 4181 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: /membri/paolopurri/:/membri2/paolopurri/:/membri/.dummy/ | Uploads: 1 | Max. Upload Size: 32M | Max. POST Size: 32M | Max. Input Time: 120 | Max. Execution Time: 30 | Memory Limit: 256M

Database Configuration :: Version: 5.6.33-log (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | Database Size: 2.22 MiB | #of Tables with config prefix: 62 | #of other Tables: 0 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLES ON `my\_paolopurri`.* TO 'paolopurri'@'localhost'
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.40) | date (5.6.40) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (2.0) | bcmath () | calendar () | ctype () | curl () | dom (20031129) | hash (1.0) | fileinfo (1.0.5) | filter (0.11.0) | gd () | gettext () | SPL (0.2) | iconv () | intl (1.1.0) | json (1.2.1) | mbstring () | mcrypt () | session () | standard (5.6.40) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | mysqli (0.1) | PDO (1.0.4dev) | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | Phar (2.0.2) | Reflection ($Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $) | mysql (1.0) | SimpleXML (0.1) | exif (1.4 $Id: bf2fd61cd1e4c50e762c11e3712867f2c6ef12d7 $) | tokenizer (0.1) | xml () | xmlreader (0.1) | xmlwriter (0.1) | xsl (0.1) | zip (1.12.5) | cgi-fcgi () | htscanner (1.0.0) | mhash () | Zend Engine (2.6.0) |
Potential Missing Extensions ::
Disabled Functions :: openssl_x509_parse | ini_restore | proc_open | link | symlink | linkinfo | mysql_change_user | highlight_file | show_source | php_uname | getrusage | set_time_limit | getmypid | dl | leak | listen | system | exec | passthru | popen | chown | chgrp | diskfreespace | shell_exec | proc_nice | stream_socket_server | stream_socket_recvfrom | stream_socket_accept | apache_child_terminate | apache_get_env | apache_set_env | apache_note | disk_total_space | disk_free_space | virtual |

Switch User Environment :: PHP CGI: Yes | Server SU: No | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (775) | components/ (775) | modules/ (775) | plugins/ (775) | language/ (775) | templates/ (775) | cache/ (775) | logs/ (775) | tmp/ (775) | administrator/components/ (775) | administrator/modules/ (775) | administrator/language/ (775) | administrator/templates/ (775) | administrator/logs/ (---) |

Elevated Permissions (First 10) :: media/ (775) | media/editors/ (775) | media/editors/codemirror/ (775) | media/editors/codemirror/js/ (775) | media/media/ (775) | media/media/css/ (775) | media/media/images/ (775) | media/media/images/mime-icon-16/ (775) | media/media/images/mime-icon-32/ (775) | media/media/js/ (775) |
Database Information :: wrote:Database statistics :: Uptime: 21403268 | Threads: 3 | Questions: 7742035382 | Slow queries: 14718 | Opens: 5316832 | Flush tables: 1 | Open tables: 8192 | Queries per second avg: 361.722 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (2.5.0) 1 | com_wrapper (2.5.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_messages (2.5.0) 1 | com_modules (2.5.0) 1 | com_cache (2.5.0) 1 | com_installer (2.5.0) 1 | com_banners (2.5.0) 1 | com_redirect (2.5.0) 1 | com_languages (2.5.0) 1 | com_cpanel (2.5.0) 1 | com_content (2.5.0) 1 | com_login (2.5.0) 1 | com_media (2.5.0) 1 | com_templates (2.5.0) 1 | com_finder (2.5.0) 1 | com_categories (2.5.0) 1 | com_newsfeeds (2.5.0) 1 | com_users (2.5.0) 1 | com_admin (2.5.0) 1 | com_search (2.5.0) 1 | com_plugins (2.5.0) 1 | com_checkin (2.5.0) 1 | com_joomlaupdate (2.5.0) ? | com_menus (2.5.0) 1 | com_weblinks (2.5.0) 1 | com_config (2.5.0) 1 |
3rd Party:: Widgetkit (1.3.4) 1 |

Modules :: Site ::
Core :: mod_whosonline (2.5.0) 1 | mod_footer (2.5.0) 1 | mod_languages (2.5.0) 1 | mod_login (2.5.0) 1 | mod_custom (2.5.0) 1 | mod_menu (2.5.0) 1 | mod_articles_latest (2.5.0) 1 | mod_articles_categories (2.5.0) 1 | mod_articles_popular (2.5.0) 1 | mod_breadcrumbs (2.5.0) 1 | mod_weblinks (2.5.0) 1 | mod_articles_news (2.5.0) 1 | mod_search (2.5.0) 1 | mod_users_latest (2.5.0) 1 | mod_wrapper (2.5.0) 1 | mod_finder (2.5.0) 1 | mod_articles_category (2.5.0) 1 | mod_stats (2.5.0) 1 | mod_random_image (2.5.0) 1 | mod_related_items (2.5.0) 1 | mod_articles_archive (2.5.0) 1 | mod_feed (2.5.0) 1 | mod_banners (2.5.0) 1 | mod_syndicate (2.5.0) 1 |
3rd Party:: Widgetkit (1.0.0) 1 | Widgetkit Twitter (1.0.0) 1 | LV ENHANCED Image Slider (2.7) 1 |

Modules :: Admin ::
Core :: mod_status (2.5.0) 1 | mod_login (2.5.0) 1 | mod_custom (2.5.0) 1 | mod_latest (2.5.0) 1 | mod_menu (2.5.0) 1 | mod_toolbar (2.5.0) 1 | mod_title (2.5.0) 1 | mod_logged (2.5.0) 1 | mod_multilangstatus (2.5.0) ? | mod_version (2.5.0) 1 | mod_submenu (2.5.0) 1 | mod_popular (2.5.0) 1 | mod_quickicon (2.5.0) 1 | mod_feed (2.5.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_extension_joomla (2.5.0) 1 | plg_finder_weblinks (2.5.0) 0 | plg_finder_contacts (2.5.0) 0 | plg_finder_content (2.5.0) 0 | plg_finder_newsfeeds (2.5.0) 0 | plg_finder_categories (2.5.0) 0 | plg_system_debug (2.5.0) 1 | plg_system_highlight (2.5.0) 0 | plg_system_sef (2.5.0) 1 | plg_system_cache (2.5.0) 0 | plg_system_languagefilter (2.5.0) 0 | plg_system_languagecode (2.5.0) 0 | plg_system_log (2.5.0) 1 | plg_system_remember (2.5.0) 1 | plg_system_logout (2.5.0) 1 | plg_system_redirect (2.5.0) 1 | plg_system_p3p (2.5.0) 1 | plg_captcha_recaptcha (2.5.0) 0 | plg_editors-xtd_pagebreak (2.5.0) 1 | plg_editors-xtd_article (2.5.0) 1 | plg_editors-xtd_image (2.5.0) 1 | plg_editors-xtd_readmore (2.5.0) 1 | plg_authentication_gmail (2.5.0) 0 | plg_authentication_ldap (2.5.0) 0 | plg_authentication_joomla (2.5.0) 1 | plg_quickicon_joomlaupdate (2.5.0) 0 | plg_quickicon_extensionupdate (2.5.0) 0 | plg_content_pagebreak (2.5.0) 1 | plg_content_geshi (2.5.0) 0 | plg_content_emailcloak (2.5.0) 1 | plg_content_finder (2.5.0) 0 | plg_content_loadmodule (2.5.0) 1 | plg_content_pagenavigation (2.5.0) 1 | plg_content_vote (2.5.0) 1 | plg_content_joomla (2.5.0) 1 | plg_search_weblinks (2.5.0) 1 | plg_search_contacts (2.5.0) 1 | plg_search_content (2.5.0) 1 | plg_search_newsfeeds (2.5.0) 1 | plg_search_categories (2.5.0) 1 | plg_user_profile (2.5.0) 0 | plg_user_contactcreator (2.5.0) 0 | plg_user_joomla (2.5.0) 1 |
3rd Party:: plg_editors_codemirror (1.0) 1 | plg_editors_tinymce (3.5.11) 1 | System - Widgetkit ZOO (1.0.0) 1 | System - AvStats (1.0) 1 | System - Widgetkit (1.0.0) 1 | System - Widgetkit Joomla (1.0.0) 1 | Content - Widgetkit (1.0.0) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez5 (2.5.0) 1 | beez_20 (2.5.0) 1 | tk_gen_free_ii (2.0.0) 1 | atomic (2.5.0) 1 |
Templates :: Admin :: bluestork (2.5.0) 1 | hathor (2.5.0) 1 |
Can you please help me?
Last edited by toivo on Mon Dec 06, 2021 8:37 pm, edited 1 time in total.
Reason: mod note: split from someone else's unrelated topic - please create your own topics in the future!

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 7398
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Fatal error: Allowed memory size of 268435456 bytes exhausted

Post by AMurray » Mon Dec 06, 2021 9:52 pm

Even though you seem to have more than adequate memory limit for the average site (256M) it's still being exceeded by *something*.

A quick conversion shows 268435456 bytes = 256MB (equal to the set memory limit) but is trying to allocate an additional 0.124901 Megabytes.
b-to-Mb.png
The easiest fix is to increase the memory limit (256M to 512M in php.ini, or through your hosting settings; it's best to ask your web host for assistance).

Are you on a live host or your PC - the FPA should give those details but they are missing from the report:
FPA wrote:Host Configuration :: OS: | OS Version: | Technology: | Web Server: Apache | Encoding: gzip | System TMP Writable: Yes | Free Disk Space : Unknown |
As to the cause, that is not clear; it might be any one or a combination of these:
  • Out of date Widget kit extension; the version of Widget Kit reported by the FPA is 1.3.4. The available version is 3.1.6 but only for Joomla 3.x
  • Out of date Joomla- v2.5 hasn't been supported in almost a decade.
  • Your template - tk_gen_free_ii (2.0.0) hasn't been updated since 2012.
Therefore my conclusion and advice is to update your site to the current, supported Joomla 3.10.x at this stage released August 2021. You might have to consider an alternative template, but you can then update to the current Widget Kit if you need to use it.
You do not have the required permissions to view the files attached to this post.
Regards - A Murray


Post Reply

Return to “General Questions/New to Joomla! 2.5”