Fatal error: Out of memory (allocated 1916534784) (tried to allocate 44 bytes)解决办法

WBOY
Release: 2016-06-13 12:58:02
Original
1847 people have browsed it

Fatal error: Out of memory (allocated 1916534784) (tried to allocate 44 bytes)
Fatal error: Out of memory (allocated 1916534784) (tried to allocate 44 bytes) 

程序运行报了这个错,php.ini里memory_limit = 1024M
还是不行,不知道是怎么回事
------解决方案--------------------
memory_limit 的作用是限定 php 最大可使用的内存
你 memory_limit = 1024M
却有 1827.75M 可用!
应该说是你的 php 版本有问题

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template