menu
#7863485 Allowed memory size of 3221225472 bytes exhausted (tried to allocate 20480 bytes)

Submitted by PocketMine-MP 4.10.1

General information

Version: 4.10.1
Git commit: a39938e6
Plugin involvement: None
Report date: 2022-11-24 18:06:22 +0000 UTC
Server uptime: 0 days 0 hours 3 minutes 59 seconds

System Information

PHP version: 8.0.24
JIT status: Disabled
Operating system: linux
System banner: Linux SkillHostVPS 5.4.0-132-generic #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022 x86_64

Error information

Message: Allowed memory size of 3221225472 bytes exhausted (tried to allocate 20480 bytes)
File: pmsrc/src/network/mcpe/InventoryManager
Line: #325
Error level: E_ERROR
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
				//This workaround isn't great, but it's at least simple.
$this->session->sendDataPacket(InventorySlotPacket::create(
$windowId,
0,
ItemStackWrapper::legacy($typeConverter->coreItemStackToNet($inventory->getItem(0)))
));
}else{
$this->session->sendDataPacket(InventoryContentPacket::create($windowId, array_map(function(Item $itemStack) use ($typeConverter) : ItemStackWrapper{
return ItemStackWrapper::legacy($typeConverter->coreItemStackToNet($itemStack));
}, $inventory->getContents(true))));
}
}
}

public function syncAll() : void{
foreach($this->windowMap as $inventory){
$this->syncContents($inventory);
}
}

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show