遇到了这样一个问题,定时任务调用dubbo做操作,调用完成后更新定时任务状态。
很突然的出现了一个问题,定时任务调用dubbo服务后就不向下执行了,但是查看服务端记录,调用的方法是正常执行完的。而且定时任务和服务端都没有报错…………求助,可能是什么问题?
分析日志后发现服务端 会报一个错误
14:54:09,510 [ERROR] [org.I0Itec.zkclient.ZkEventThread] :77 - Error handling event ZkEvent[New session event sent to com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient$1@7ac2e933]
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3664)
at java.lang.String.(String.java:207)
at java.lang.StringBuilder.toString(StringBuilder.java:407)
at java.util.AbstractCollection.toString(AbstractCollection.java:464)
at java.lang.String.valueOf(String.java:2994)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at com.alibaba.dubbo.registry.support.FailbackRegistry.recover(FailbackRegistry.java:282)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.access$000(ZookeeperRegistry.java:45)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry$1.stateChanged(ZookeeperRegistry.java:76)
at com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient.stateChanged(AbstractZookeeperClient.java:86)
at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient.access$300(ZkclientZookeeperClient.java:17)
at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperClient$1.handleNewSession(ZkclientZookeeperClient.java:36)
at org.I0Itec.zkclient.ZkClient$4.run(ZkClient.java:472)
at org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:71)
求助是什么原因