最近老出现这个异常:不知道如何调整。
2024-08-30 13:47:35.425+08:00 ERROR (leaderCheckpointer|11139) [Daemon.run():109] daemon thread got exception. name: leaderCheckpointer
java.lang.OutOfMemoryError
at java.base/java.lang.AbstractStringBuilder.hugeCapacity(AbstractStringBuilder.java:214)
at java.base/java.lang.AbstractStringBuilder.newCapacity(AbstractStringBuilder.java:206)
at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:173)
at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:633)
at java.base/java.lang.StringBuffer.append(StringBuffer.java:397)
at java.base/java.io.StringWriter.write(StringWriter.java:122)
at com.google.gson.stream.JsonWriter.string(JsonWriter.java:590)
at com.google.gson.stream.JsonWriter.writeDeferredName(JsonWriter.java:401)
at com.google.gson.stream.JsonWriter.beginArray(JsonWriter.java:288)
at com.google.gson.internal.bind.TypeAdapters$27.write(TypeAdapters.java:711)
at com.google.gson.internal.bind.TypeAdapters$27.write(TypeAdapters.java:721)
at com.google.gson.internal.bind.TypeAdapters$27.write(TypeAdapters.java:721)
at com.google.gson.internal.bind.TypeAdapters$27.write(TypeAdapters.java:721)
at com.google.gson.internal.bind.TypeAdapters$27.write(TypeAdapters.java:721)
at com.google.gson.internal.bind.TypeAdapters$27.write(TypeAdapters.java:655)
at com.google.gson.internal.Streams.write(Streams.java:72)
at com.starrocks.persist.gson.RuntimeTypeAdapterFactory$1.write(RuntimeTypeAdapterFactory.java:417)
at com.google.gson.TypeAdapter$1.write(TypeAdapter.java:191)
at com.google.gson.Gson.toJson(Gson.java:735)
at com.google.gson.Gson.toJson(Gson.java:714)
at com.google.gson.Gson.toJson(Gson.java:669)
at com.google.gson.Gson.toJson(Gson.java:649)
at com.starrocks.persist.metablock.SRMetaBlockWriter.writeJson(SRMetaBlockWriter.java:79)
at com.starrocks.server.LocalMetastore.save(LocalMetastore.java:5217)
at com.starrocks.server.GlobalStateMgr.saveImage(GlobalStateMgr.java:1981)
at com.starrocks.server.GlobalStateMgr.saveImage(GlobalStateMgr.java:1951)
at com.starrocks.leader.Checkpoint.replayAndGenerateGlobalStateMgrImage(Checkpoint.java:210)
at com.starrocks.leader.Checkpoint.createImage(Checkpoint.java:193)
at com.starrocks.leader.Checkpoint.runAfterCatalogReady(Checkpoint.java:108)
at com.starrocks.common.util.FrontendDaemon.runOneCycle(FrontendDaemon.java:72)
at com.starrocks.common.util.Daemon.run(Daemon.java:107)
没有人碰到过吗