williamleonard / obblm

Automatically exported from code.google.com/p/obblm
1 stars 0 forks source link

Overall graphical statistics uses too much memory #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the Statistics -> Overall graphical statistics link on my webhost
2.
3.

What is the expected output? What do you see instead?
Expected output are the graph pics.
What I see instead is the following error:
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to
allocate 39 bytes) in <absolute path to my obblm
install>/jpgraph/gd_image.inc.php on line 1345

Looks like there are too many graphs in one page and that exceeds the
memory allowed for php execution for my webhost company one.com...
It works fine locally on my PC.

/Daniel

Original issue reported on code.google.com by blodae@gmail.com on 16 Jun 2009 at 2:04

GoogleCodeExporter commented 9 years ago
No, there are not too many graphs per say, it's the amount of data passed to the
JPGraf class that is the bottle neck :-/. Never thought I would hit that kind 
of limit. 

Daniel, would you please try playing around with the dimension, and history
size/length options for the graphs in header.php under "For graphical 
statistics",
and note what helps modifying. thanks.

Original comment by Nimda...@gmail.com on 16 Jun 2009 at 2:17

GoogleCodeExporter commented 9 years ago
I have removed some of the graphs which were not that useful anyway. It now 
works
again for PHP having 8-16 mb memory (standard).

Original comment by Nimda...@gmail.com on 8 Jul 2009 at 11:47