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}Has it happened again?
No, but we've been deploying 5 or 6 times per day. And we doubled our RAM.
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.
It's definitely the GC that came and took it away. I just don't understand why and what to do to stop it