I have a strange problem with my own php script. I run my own php forum and just changed some code. The main topic view page does a lot of things and during I work on my script I started getting problems with Firefox to open the page. The browser start loading sometimes and just freeze for a moment or just open a white page with no errors.
PHP Fatal error: Allowed memory size of 8077888 bytes exhausted (tried to allocate 222519 bytes) in Unknown on line 0
But when I check my php.ini I do have configured 128MB as memory limit. When I test phpinfo(); in the same script / directory etc. I get also the information that I have 128 MB configured. I also tried:
echo 'Memory Limit = ' . ini_get('memory_limit') . "\n";
which as well return 128MB in the beginning of my code and at the bottom as well (in case some include etc. mess the code up).
I keep getting the error of the exhausted memory limit but only for this file (everything else works).
The odd thing to me is that this is not happening for google chrome browser. If I open the same page with google chrome the page opens normal and my apache log does not register any error but in Firefox I cant open the site (all white) and the apache error log shows the memory limit error.
I really don't know what to do and appreciate in advance any tips and help to solve this mystery.