Hacker News new | comments | show | ask | jobs | submit login
Ask HN: Will php being out of memory caused by increasing memory leak?
1 point by protosschris 157 days ago | hide | past | web | 1 comment | favorite
Hey, be confused about php memory management.

Will php being out of memory caused by increasing memory leak of php itself ?

If not, and zend_gc = On ...

Why we can face out of memory siutation when running phpunit ?




PHPUnit is greedy with RAM.

I believe the default PHP memory limit is often only 128Mb, have you tried increasing this, or setting it to -1 to remove the limit?

In php.ini, you need to change: memory_limit = 128M ;




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: