datahike

alekcz 2025-02-07T16:18:37.132899Z

Anyone have any idea why this happens? It causes all writes to fail permanently and the I need to reboot

clojure.lang.ExceptionInfo: clojure.lang.ExceptionInfo: class java.lang.ref.SoftReference cannot be cast to class me.tonsky.persistent_sorted_set.ANode (java.lang.ref.SoftReference is in module java.base of loader 'bootstrap'; me.tonsky.persistent_sorted_set.ANode is in unnamed module of loader 'app') {} {:stack #object["[Ljava.lang.StackTraceElement;" 0x1670122 "[Ljava.lang.StackTraceElement;@1670122"], :type :write-failure}

🤷 1
whilo 2025-03-07T08:40:48.670469Z

Has it happened again?

alekcz 2025-03-07T08:44:49.313979Z

No, but we've been deploying 5 or 6 times per day. And we doubled our RAM.

whilo 2025-02-12T02:10:17.556829Z

Hey @alekcz360. Have you learned more about the issue? I have not seen this before. The persistent sorted set uses soft references, it could be that your JVM has a tight memory configuration.

alekcz 2025-02-13T15:32:07.838449Z

It's definitely the GC that came and took it away. I just don't understand why and what to do to stop it