gpt4 book ai didi

java - Cassandra 2.2.8 : sstableverify - GC overhead limit exceeded

转载 作者:行者123 更新时间:2023-12-01 08:56:25 25 4
gpt4 key购买 nike

我怀疑我损坏了表的 sstables,因此我在节点关闭时运行 sstableverify 实用程序。我收到类似 [超出 GC 开销限制]

的消息

如果可以解决或解决此问题,请寻求帮助..提前致谢!

sstableverify -v enterprise ale_state_access_point

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOf(Arrays.java:3332) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:649) at java.lang.StringBuilder.append(StringBuilder.java:202) at org.apache.cassandra.io.sstable.Descriptor.filenameFor(Descriptor.java:170) at org.apache.cassandra.io.sstable.Descriptor.filenameFor(Descriptor.java:125) at org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:709) at org.apache.cassandra.io.sstable.format.SSTableReader.load(SSTableReader.java:672) at org.apache.cassandra.io.sstable.format.SSTableReader.open(SSTableReader.java:466) at org.apache.cassandra.io.sstable.format.SSTableReader.openNoValidation(SSTableReader.java:377) at org.apache.cassandra.tools.StandaloneVerifier.main(StandaloneVerifier.java:89) ERROR 20:33:15 LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@6d42f926) to class org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier@1047072254:/cassandra/data/enterprise/ale_state_access_point-ae4c50d0d67a11e696b25735df805631/lb-79600-big was not released before the reference was garbage collected ERROR 20:33:15 LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@69f4a15d) to class org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier@1968390106:/cassandra/data/enterprise/ale_state_access_point-ae4c50d0d67a11e696b25735df805631/lb-58267-big was not released before the reference was garbage collected

最佳答案

我猜你有很多 sstables,因为它仅仅构建描述符就失败了。如果系统上有内存,请尝试增加堆(默认 256mb):

MAX_HEAP_SIZE=4G sstableverify -v enterprise ale_state_access_point

关于java - Cassandra 2.2.8 : sstableverify - GC overhead limit exceeded,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42013443/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com