JPGRAPH Memory Issue

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ste_dee
Posts: 4
Joined: 13 Mar 2008, 10:11

JPGRAPH Memory Issue

Post by ste_dee »

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
rchu22
Posts: 3
Joined: 18 Apr 2008, 09:42

Re: JPGRAPH Memory Issue

Post by rchu22 »

You need to edit the php.ini file in the apache bin e.g. C:\wamp\Apache2\bin

edit memory_limit value to the memory required

e.g.

memory_limit = 16M

See the FAQ's on the wampserver pages

http://www.wampserver.com/en/faq.php
Post Reply