JPGRAPH Memory Issue
Posted: 11 Apr 2008, 14:43
I am trying to get jpgraph working with my installation of Mantis. I have Mantis 1.1.1 and jpGraph 1.22.1. I have ammeded my config_inc.php to have:
$g_use_jpgraph = ON;
$g_jpgraph_path = 'C:\\wamp\\www\\mantis\\jpgraph\\';
I have then ammended jpgraph.php to have:
DEFINE('DIR_BASE','C:\\wamp\\www\\mantis\\jpgraph\\');
When I click on a graph though I get an error like this:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in C:\wamp\www\mantis\jpgraph\jpgraph.php on line 1752
I have seen people mention the upping the memory limit in my php settings, but i'm not sure how to go about doing this. I have inherited this Mantis system, and its all new to me. Any help would be a godsend.
Thanks
Steve
$g_use_jpgraph = ON;
$g_jpgraph_path = 'C:\\wamp\\www\\mantis\\jpgraph\\';
I have then ammended jpgraph.php to have:
DEFINE('DIR_BASE','C:\\wamp\\www\\mantis\\jpgraph\\');
When I click on a graph though I get an error like this:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in C:\wamp\www\mantis\jpgraph\jpgraph.php on line 1752
I have seen people mention the upping the memory limit in my php settings, but i'm not sure how to go about doing this. I have inherited this Mantis system, and its all new to me. Any help would be a godsend.
Thanks
Steve