Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Fixing the 'exhausted allocated memory' issues

  • admin
  • admin's Avatar Topic Author
  • Administrator
  • Administrator
More
IP: 174.44.39.212 11 years 5 months ago - 11 years 5 months ago #4291 by admin
In order to minimize the amount of memory used by the module, there are a number of possible actions:

- avoid the option that looks for images in articles (except if the intro text is usually short). Since v2.0.2, there is also an option to turn 'off' looking for images in the remaining of the article (until then, it was systematically done).

- 'reset thumbnails' should be set to 'no' (uses the cached images rather than creating the thumbnails every single time)

- in php.ini, increase the memory limit (memory_limit = 128M up to 256M) - may not be allowed by your service provider.

- in index.php of the Joomla root directory, add
Code:
ini_set('memory_limit','256M');
after the first <?php tag.

You can find more information at:
- stackoverflow.com/questions/415801/allow...locate-43148176-byte
- magazine.joomla.org/issues/issue-dec-201...-share-of-PHP-memory

Olivier.
Last edit: 11 years 5 months ago by admin.