mojira.dev
MC-177664

Sound system warning messages are spamming the system log

The bug

In the situation of many sounds produced at the same time, there is a high chance of warnings form the sound system to spam the game error log. It can also cause client to freeze when the error is spammed.

[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
[02:06:26] [main/WARN]: Failed to create new sound handle
[02:06:26] [Sound engine/WARN]: Maximum sound pool size 247 reached
...

Attachments

Comments 24

CreeperMagnet_

Can confirm.

Can confirm for 1.16.1 as well.

1.16.3 too.

blublu_owns123

still in 1.16.4

[media]

Can confirm in 20w51a.

14 more comments

Can confirm in 21w40a.

Can confirm in 21w44a.

Stan Winchester

Can confirm in 1.16.5

This was fixed in 1.18...1.16 is outdated...

blublu_owns123

Can confirm solved in 1.18.2

[media]

gnembon

gnembon

Confirmed

Important

Performance, Sound

1.15.2, 20w14a, 1.16.2, 1.16.4, 20w51a, ..., 21w37a, 21w39a, 21w40a, 21w42a, 21w44a

1.18 Pre-release 5

Retrieved