Gridgain:java.lang.OutOfMemoryError:超出GC开销限制 [英] Gridgain: java.lang.OutOfMemoryError: GC overhead limit exceeded

查看:115
本文介绍了Gridgain:java.lang.OutOfMemoryError:超出GC开销限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  1. 从.csv文件加载数据( 100万到5000万的数据)使用 GridDataLoader 发送给Gridgain。


  2. 从加载的数据中查找最小值,最大值,平均值等,



  3. 当在eclipse中作为独立应用程序运行时,我得到的输出是正确的。



    但是在创建集群时2个服务器+ 1个节点,在我的eclipse环境中),我得到 java.lang.OutOfMemoryError:超出GC开销限制错误。

    我使用的配置文件是 http://pastebin.com/LUa7gxbe

    解决方案

    更改eclipse.ini的Xmx属性可能会解决问题。
    将其更改为-Xmx3g


    I'm trying to set up a Gridgain cluster with 2 servers.

    1. Load data from a .csv file (1 million to 50 million data) to the Gridgain using GridDataLoader.

    2. Find the min, max, average, etc. from the data loaded,

    When running as a standalone application in eclipse I'm getting correct output.

    But while making a cluster (2 nodes in the 2 servers + 1 node inside my eclipse environment), I'm getting java.lang.OutOfMemoryError: GC overhead limit exceeded error.

    The configuration file I'm using is http://pastebin.com/LUa7gxbe

    解决方案

    Changing eclipse.ini's Xmx property might solve the problem. Change it to -Xmx3g

    这篇关于Gridgain:java.lang.OutOfMemoryError:超出GC开销限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆