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

Performance issues #240

Open
dnbghnksrghb opened this issue May 9, 2024 · 4 comments
Open

Performance issues #240

dnbghnksrghb opened this issue May 9, 2024 · 4 comments

Comments

@dnbghnksrghb
Copy link

Place blocks or right click items caused proxy lag and using huge of CPU and no error

To reproduce just need about 15 ~ 30 cps to right click / place block

Proxy: Velocity/Flamecord (both lastest) , only install protocolize(1060) and protocolize-legacy(949)

Server: Paper 1.8.8
Client: 1.8.9

@MagmaBlock
Copy link

Same issue we meet. Players quickly take out or put in items from / to chest can cause a lag, client will see a high ping at that time.

After uninstall protocolize, the bug disappeared. Then I found this issue post, the same cpu usage found out too.
image

Using BungeeCord latest build with protocolize 2.3.3:1069.

@Duplimon
Copy link

Duplimon commented Jun 9, 2024

Hello, sorry, with some version this stopped happening or to this day you still have this problem.
The same thing really happens to me.

@MattyHD0
Copy link

MattyHD0 commented Jun 9, 2024

Hello, I have identified the cause of this problem, the problem is caused by the use of stream in this code line

return (T) mappingMultimap.get(mappable).parallelStream()
the solution is to make a rollback as it was in the following commit 9618235

@Exceptionflug
Copy link
Owner

Should be fixed in the latest protocolize build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants