diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/message/SimpleTextMessage.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/message/SimpleTextMessage.java index 3580ca97e80..c6105b39903 100644 --- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/message/SimpleTextMessage.java +++ b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/message/SimpleTextMessage.java @@ -34,7 +34,7 @@ public class SimpleTextMessage implements MessageAppender public SimpleTextMessage(EventDriver onEvent) { this.onEvent = onEvent; - this.utf = new Utf8StringBuilder(); + this.utf = new Utf8StringBuilder(1024); size = 0; finished = false; }