memory_limit = 300M Fatal error: Allowed memory size ????
Posted: Thu May 15, 2008 7:18 pm
Running windows 2003 server, apache2 and php 5.
memory_limit was 100M, but got this error when running a query against SQL server:
Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 65536 bytes) in
As you can see got the memory size all the way up to 300M,
What is loosing me is that from 100 to 200 and finnaly 300M memory_limit,
(tried to allocate ...) was allways 65536 bytes.
Any idea why?
Apache got restarted every time.
I did not create the code behind this but it is using pattemplate and is quite old and badly programmed.
I could understand the script using more then a 100M cause by bad programming practice but not 300.
and the 65536 ..... ????
Hope someone can help put some light on this!
Thanks in advance
memory_limit was 100M, but got this error when running a query against SQL server:
Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 65536 bytes) in
As you can see got the memory size all the way up to 300M,
What is loosing me is that from 100 to 200 and finnaly 300M memory_limit,
(tried to allocate ...) was allways 65536 bytes.
Any idea why?
Apache got restarted every time.
I did not create the code behind this but it is using pattemplate and is quite old and badly programmed.
I could understand the script using more then a 100M cause by bad programming practice but not 300.
and the 65536 ..... ????
Hope someone can help put some light on this!
Thanks in advance