Hi.
I have a strange bug happening. Don't know even if it comes from Akelos or my Apache server.
I'm building a little CMS and have a helper to compute page snippets. This helper, among other things, filter my nested pages (tree) and markdown() them.
When I start the Apache server for the first time after computer boot, and then load the site,
I get :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 40 bytes) in /media/clef/Projets/_akelos/vendor/PHPCodeAnalyzer/PHPCodeAnalyzer.php on line 135
If I comment the markdown call :
// $this->str = TextHelper::markdown($this->str);
It works again.
More : if I uncomment it, it still works !
The memory problem comes back much later after many reload.
Any idea ?
See http://trac.akelos.org/ticket/183 and http://forum.akelos.org/discussion/443/garbage-collection-of-associated-objects.
You can use memory_get_usage() to track memory consuming code, it's possible that the problem comes before the markdown call.
1 to 2 of 2