diff --git a/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java b/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java index d81d135111..47e6c2d8ce 100644 --- a/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java +++ b/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java @@ -31,7 +31,7 @@ public class ByteArrayOutputStream extends OutputStream { int size; public ByteArrayOutputStream() { - this(512); + this(1028); } public ByteArrayOutputStream(int capacity) { buffer = new byte[capacity];