[ASK] About memory_limit ?
Posted: Tue Feb 02, 2010 9:55 am
hi .. I want to ask ..
I set in php.ini, memory_limit = 7168M (meaning 7GB) .. 8GB of memory my computer .. but after I run a large script that holds the data in the array so that large memory-consuming .. why array only able to accommodate only up to about 2GB and print out error message like this: "Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes )...".. but there's still about 5GB that have not been used according to the previously located ..
if anyone has ever experienced and knows the solution?
thanks for the solution ..
I set in php.ini, memory_limit = 7168M (meaning 7GB) .. 8GB of memory my computer .. but after I run a large script that holds the data in the array so that large memory-consuming .. why array only able to accommodate only up to about 2GB and print out error message like this: "Fatal error: Allowed memory size of X bytes exhausted (tried to allocate Y bytes )...".. but there's still about 5GB that have not been used according to the previously located ..
if anyone has ever experienced and knows the solution?
thanks for the solution ..