menu
#5038579 Chunk is too big! 1048696 > 1044480

Submitted by PocketMine-MP 3.22.0

General information

Version: 3.22.0
Git commit: c32c2146
Plugin involvement: None
Report date: 2021-07-22 04:33:43 +0000 UTC
Server uptime: 1 days 0 hours 35 minutes 37 seconds

System Information

PHP version: 7.4.21
Operating system: linux
System banner: Linux atlar 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64

Error information

Message: Chunk is too big! 1048696 > 1044480
File: pmsrc/src/pocketmine/level/format/io/region/RegionLoader
Line: #213
Error level: pocketmine\level\format\ChunkException
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
	 * @return void
* @throws ChunkException
* @throws \InvalidArgumentException
*/
public function writeChunk(int $x, int $z, string $chunkData){
$this->lastUsed = time();

$length = strlen($chunkData) + 1;
if($length + 4 > self::MAX_SECTOR_LENGTH){
throw new ChunkException("Chunk is too big! " . ($length + 4) . " > " . self::MAX_SECTOR_LENGTH);
}

$newSize = (int) ceil(($length + 4) / 4096);
$index = self::getChunkOffset($x, $z);

/*
* look for an unused area big enough to hold this data
* this is corruption-resistant (it leaves the old data intact if a failure occurs when writing new data), and
* also allows the file to become more compact across consecutive writes without introducing a dedicated garbage
* collection mechanism.
#0 pmsrc/src/pocketmine/level/format/io/region/McRegion(416): pocketmine\level\format\io\region\RegionLoader->writeChunk(integer 0, integer 27, string[1048691] x.....]Gu.....e[....,Y.GK..,..g...._j..j......[j[......y..1..6N ........5.C...Y.)
#1 pmsrc/src/pocketmine/level/format/io/BaseLevelProvider(186): pocketmine\level\format\io\region\McRegion->writeChunk(object pocketmine\level\format\Chunk)
#2 pmsrc/src/pocketmine/level/Level(2758): pocketmine\level\format\io\BaseLevelProvider->saveChunk(object pocketmine\level\format\Chunk)
#3 pmsrc/src/pocketmine/level/Level(3022): pocketmine\level\Level->unloadChunk(integer 0, integer -5, boolean 1)
#4 pmsrc/src/pocketmine/level/Level(812): pocketmine\level\Level->unloadChunks()
#5 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 1769407)
#6 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 1769407)
#7 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 1769407, double 1626928423.6149)
#8 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#9 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#10 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#11 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[27] /home/AtlarServers/lobby_1/, string[35] /home/AtlarServers/lobby_1/plugins/)
#12 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#13 pmsrc(11): require(string[82] phar:///home/AtlarServers/lobby_1/PocketMine-MP.phar/src/pocketmine/PocketMine.p)

Loaded Plugins

  • Show

Server Settings

  • Show