OutOfMemory istisna PHP dökümü yığın var

0 Cevap php

Şu anda sürekli OutOfMemory istisnalar içine çalışan bir komut dosyası hata ayıklama. Bu bir cronjob olarak çalışacak ve genellikle iyi çalışır, ancak cronjob bir süre için çalışmaz zaman (hangi nedenle olursa olsun) komut sıraya ve bir OutOfMemory istisna çalıştırmak birçok elemanları işlemek için vardır.

From examining the code I was not able to spot the problem. I believe one of the iterative function calls might leak memory, but I am not sure which one and where. Is there an option to get PHP to dump the heap, when an OutOfMemory exception occurs? I might be able to spot the problem from there (most likely).

0 Cevap