Search code examples
javaeclipsegarbage-collectiongridgain

Gridgain: java.lang.OutOfMemoryError: GC overhead limit exceeded


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


Solution

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