Put a debug conditional around some debugging code so that it does not use up memory unintentionally.
http://codeigniter.com/forums/viewthread/50918/
diff --git a/system/libraries/Xmlrpcs.php b/system/libraries/Xmlrpcs.php
index 5ba1dd0..bdbb85b 100644
--- a/system/libraries/Xmlrpcs.php
+++ b/system/libraries/Xmlrpcs.php
@@ -202,7 +202,10 @@
for($i=0; $i < sizeof($parser_object->xh[$parser]['params']); $i++)
{
- $plist .= "$i - " . print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
+ if ($this->debug === TRUE)
+ {
+ $plist .= "$i - " . print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
+ }
$m->addParam($parser_object->xh[$parser]['params'][$i]);
}