Memory Limit Plugin  (V1.7)

This plugin is for joomla users who don't know how to adjust memory_limit parameter of php to fix the error that says:

Fatal error: Allowed memory size of [number] bytes exhausted (tried to allocate [number] bytes) in [filename]

This error is usually fixed by changing the memory_limit parameter in php.ini or in .htaccess file, but some web hosting companies do not allow you to modify php.ini,

or you can't use .htaccess, or you don't know how to use them to fix this error, so you can use this parameter easily.

This plugin has only one parameter, it is named 'Maximum Memory Size', by entering an integer number , say x,  in this parameter, the plugin sets the memory limit to x MB for the whole joomla website.

The default value for this parameter if not set is 32.

This plugin has only one parameter, it is named 'Maximum Memory Size', by entering an integer number , say x,  in this parameter, the plugin sets the memory limit to x MB for the whole joomla website.

The default value for this parameter if not set is 32.

If you set the 'Maximum Memory Size' parameter with a low or wrong value and the site is stopped working and gives you the error described above, you will have to disable the plugin directly from the database.

To disable the 'Memory Limit' plugin from the database, or any other plugin, go to phpMyAdmin and find the table 'jos_plugins', of course replace jos_ with your Joomla installation prefix.

Find the record of the plugin, in this case its name will be 'Memory Limit', change the value of 'published' field to '0' instead of '1', now the plugin is disabled and your website shall work normally. Go to the plugin manager and change 'Maximum Memory Size' to a proper value.

  • Comments:View comments