Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin is not able to handle big selections #212

Open
galaxytwenty opened this issue Jul 1, 2022 · 2 comments
Open

Plugin is not able to handle big selections #212

galaxytwenty opened this issue Jul 1, 2022 · 2 comments

Comments

@galaxytwenty
Copy link

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]
@VixikHD VixikHD added this to the 1.4.0 milestone Jul 5, 2022
@dadodasyra
Copy link

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
Copy link

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.

@VixikHD VixikHD changed the title bytes exhausted BUG Plugin is not able to handle big selections Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants