Home  >  Article  >  Backend Development  >  medoo - How to fix the error "Out of memory" reported by php?

medoo - How to fix the error "Out of memory" reported by php?

WBOY
WBOYOriginal
2016-08-23 09:17:431671browse

The method of calling medoo$medoo->delete($table, ["id" => 1]);reports an error, and using ini_set("memory_limit","-1");cannot solve it. Seek advice from experts. The following is the error message:

Fatal error: Out of memory (allocated 1845755904) (tried to allocate 65488 bytes) in C:xampphtdocsMFramework_phpappmodelGuestbookModel.php on line 45

Reply content:

The method of calling medoo$medoo->delete($table, ["id" => 1]);reports an error, and using ini_set("memory_limit","-1");cannot solve it. Seek advice from experts. The following is the error message:

Fatal error: Out of memory (allocated 1845755904) (tried to allocate 65488 bytes) in C:xampphtdocsMFramework_phpappmodelGuestbookModel.php on line 45

Memory overflow, not enough memory, check to see if there is a dead loop

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn