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 needs better memory management system #2

Open
ArasakaID opened this issue Dec 11, 2021 · 3 comments
Open

Plugin needs better memory management system #2

ArasakaID opened this issue Dec 11, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ArasakaID
Copy link

When im /image place 4x4 blocks, this happend

Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 8192 bytes) in D:\PocketMine-MP 4.0.0\plugins\ImageOnMap\src\czechpmdevs\imageonmap\utils\ColorSerializer.php on line 50

@VixikHD
Copy link
Contributor

VixikHD commented Dec 11, 2021

That means your server does not have enough memory.

@VixikHD
Copy link
Contributor

VixikHD commented Dec 11, 2021

I can try optimize it, however, to do so, I'll need more information such as OS, version of ImageOnMap you have used and other plugins whose were loaded when the crash happened. From the message I conclude that you have only 200MB for the server (If am not right, I'll also need to know memory.main-hard-limit to fix the problem).

@VixikHD VixikHD added the bug Something isn't working label Dec 11, 2021
@ArasakaID
Copy link
Author

Using Windows 10, plugin version 1.0.0, no plugin other than ImageOnMap, the memory main hard limit is 200 (you're right)

@xFungal xFungal mentioned this issue Jan 28, 2023
@VixikHD VixikHD changed the title Error Plugin needs better memory management system Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants