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

Nether Portal breaking causes massive lag #1442

Closed
Skizzles opened this issue Nov 1, 2022 · 5 comments
Closed

Nether Portal breaking causes massive lag #1442

Skizzles opened this issue Nov 1, 2022 · 5 comments
Assignees
Labels
✔️ Confirmed Confirmed bugs that can be replicated 🔧 Potential fix A potential fix was already submitted

Comments

@Skizzles
Copy link
Member

Skizzles commented Nov 1, 2022

Minecraft's Version

git-Purpur-1758 (MC: 1.19.2)

Plugin's Version

SuperiorSkyblock2-2022.9-b896.jar

Describe the bug

When breaking multiple nether portals a massive lag spike occurs and causes the server to run out of memory. This was linked back to SuperiorSkyblock thorugh a crash report!

To Reproduce

Place down multiple large scale nether portals
Attempt to break these portals really quickly (efficiency 255)
Watch as the server runs out of memory.

Additional Information

image

https://www.youtube.com/watch?v=vrqLVAoWQJY

(Sent spark and crash report via Discord)

@Skizzles Skizzles added the Pending Pending reports to be investigated label Nov 1, 2022
@Skizzles
Copy link
Member Author

Skizzles commented Nov 2, 2022

@OmerBenGera
Copy link
Member

Do you have a value set to portal blocks (the actual purple portal, not obsidian)?

@Skizzles
Copy link
Member Author

Skizzles commented Nov 4, 2022

Do you have a value set to portal blocks (the actual purple portal, not obsidian)?

NETHER_PORTAL: 1

If this is the portal block inside the portal then I swear ahah

OmerBenGera added a commit that referenced this issue Nov 4, 2022
@OmerBenGera
Copy link
Member

Do you have a value set to portal blocks (the actual purple portal, not obsidian)?

NETHER_PORTAL: 1

If this is the portal block inside the portal then I swear ahah

It was. The issue was caused due to a lot of blocks break all at once, causing many block saving which caused the server to eventually crash.
This should be fixed with latest dev build, as the plugin will not try to save these block counts (they will be saved later).
I ran a spark profiler and it's much better now:
https://spark.lucko.me/LMdpVWu7oJ

Let me know if it's better for you as well.

@OmerBenGera OmerBenGera added 🔧 Potential fix A potential fix was already submitted ✔️ Confirmed Confirmed bugs that can be replicated and removed Pending Pending reports to be investigated labels Nov 4, 2022
@Skizzles
Copy link
Member Author

Skizzles commented Nov 9, 2022

Works good

@Skizzles Skizzles closed this as completed Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✔️ Confirmed Confirmed bugs that can be replicated 🔧 Potential fix A potential fix was already submitted
Projects
None yet
Development

No branches or pull requests

2 participants