Integer[][] data = new Integer[1000000][100000];
作为上面简单的演示代码,我尝试在pandora容器中应用非凡的大内存并触发OOM (这是阿里巴巴开发的一个网络容器但是这个错误似乎只影响到当前的请求,web服务不会被折叠;正如我所知,与异常不同,java中的错误不应该恢复,并且影响整个过程。我很困惑,请advice..thanks。
我用的是阿里巴巴的Rsocket。.build();}Caused by: java.lang.ClassCastException: class reactor.core.publisher.MonoContextWrite cannot be cast to class java.lang.Integer (reactor.core.publisher.MonoContextWriteis in unnamed
这是来自java.util.ArrayList的片段 * Constructs an IndexOutOfBoundsException detail message.This is a big deal - we're talking factors of * The coding pattern above is heavily used in java.util, e.g. in ArrayList.