5 users online. Create an account or sign in to join them.Users

Search

Hi I've appended a dynamic XML source to my web page. Now when I wanted to see it in ?debug mode, I got an error: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 786735 bytes) in /home/tests/Dev/mysite.com/extensions/debugdevkit/lib/bitter/formats/symphony.php on line 23 The XML itself is just 127KB, how this can be fixed? Thank you,

Andrei

The XML itself is just 127KB

That's pretty big — it might be too much for the debug devkit to process, since it usually just has to process just a few KB of "normal" Symphony page XML. The code highlighting process is memory intensive.

Allowed memory size of 16777216 bytes exhausted (tried to allocate 786735 bytes)

16777216 bytes is 16MB (16777216 / 1024 bytes per KB / 1024 KB per MB), which is quite low, or the bare minimum that servers are usually configured to run with (e.g. if you're using MAMP then 16MB is the default). Symphony out of the box works fine with 16MB (some CMS like Drupal require a minimum of 32MB...) but you can bump up the memory a page process can use by adding this to your .htaccess file:

php_value memory_limit 16M

Change the value to something like 32M, 64M or 128M and see if that eases things.

Thanks, that works!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details