CzechPMDevs / BuilderTools

🪓 Powerful World Editor plugin for PocketMine servers
https://czechpmdevs.github.io/BuilderTools
Apache License 2.0
77 stars 36 forks source link

Plugin is not able to handle big selections #212

Open galaxytwenty opened 2 years ago

galaxytwenty commented 2 years ago

when i copy big buildings the server goes crashing

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 134217736 bytes) in /home/minecraft/plugins/BuilderTools-main/src/czechpmdevs/buildertools/blockstorage/BlockArray.php on line 100

To Reproduce Steps to reproduce the behavior:

  1. Copy a Big Bulding
  2. Paste this
  3. Server crash
  4. See error

System information (please complete the following information):

dadodasyra commented 2 years ago

Pretty sure this is just a ram issue. Try to allocate more RAM in pocketmine.yml settings (on every single RAM settings, dont miss one). Yeah BuilderTools is using a lot of RAM for big schematics.

But this stay a bug and maybe BuilderTools should not save everything in RAM but use other ways if the copy clipboard is too large.

husencoolwolf commented 1 year ago

when i copy big buildings the server goes crashing

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 134217736 bytes) in /home/minecraft/plugins/BuilderTools-main/src/czechpmdevs/buildertools/blockstorage/BlockArray.php on line 100

To Reproduce Steps to reproduce the behavior:

  1. Copy a Big Bulding
  2. Paste this
  3. Server crash
  4. See error

System information (please complete the following information):

  • OS: Win10, IOS
  • PHP Version: 8
  • BuilderTools Version: [1.3.1]

I got same crash message. But in my case. I had big schematic to load. and it crash like you had.