开发者社区> 问答> 正文

出现Out of memory必须要提高配置吗?php.ini限制已经改为1024M

Error: Out of memory (allocated 110362624) (tried to allocate 131072 bytes)
File: /src/pocketmine/nbt/NBT
Line: 499
Type: E_ERROR

Code:
[490] }
[491] return $this->buffer;
[492] }
[493]
[494] return false;
[495] }
[496]
[497] public function writeCompressed($compression = ZLIB_ENCODING_GZIP, $level = 7){
[498] if(($write = $this->write()) !== false){
[499] return zlib_encode($write, $compression, $level);
[500] }
[501]
[502] return false;
[503] }
[504]
[505] public function readTag(){
[506] switch($this->getByte()){
[507] case NBT::TAG_Byte:
[508] $tag = new Byte($this->getString());
[509] $tag->read($this);

Backtrace:

0 (): pocketmineServer->crashDump(boolean)

Genisys version: 1.1dev #0 [Protocol 45; API 1.13.1]
uname -a: Windows NT iZ28wz5cp4tZ 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
PHP version: 5.6.6
Zend version: 2.6.0
OS : WINNT, win

展开
收起
小明帅帅 2016-03-13 00:44:07 3149 0
1 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
PHP 2017.北京 全球开发者大会——高可用的PHP 立即下载
PHP安全开发:从白帽角度做安全 立即下载
复杂PHP系统性能瓶颈排查及优化 立即下载