From b8479430b693107b32ede29d22a6a35e9a7c63f8 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sat, 25 May 2024 01:21:06 +0200 Subject: [PATCH] 400 is too small --- source/net/yacy/visualization/RasterPlotter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/visualization/RasterPlotter.java b/source/net/yacy/visualization/RasterPlotter.java index 2bac51836..91a78cf2f 100644 --- a/source/net/yacy/visualization/RasterPlotter.java +++ b/source/net/yacy/visualization/RasterPlotter.java @@ -1000,7 +1000,7 @@ public class RasterPlotter { final int height = image.getHeight(null); final Deflater scrunch = new Deflater(compressionLevel); - ByteBuffer outBytes = new ByteBuffer(1024 * 300); // avoid frequent resizing of the ByteBuffer + ByteBuffer outBytes = new ByteBuffer(1024 * 400); // avoid frequent resizing of the ByteBuffer final OutputStream compBytes = new BufferedOutputStream(new DeflaterOutputStream(outBytes, scrunch, 2048, false), 16384); int i = 0; for (int row = 0; row < height; row++) {