RAVITEJA SATYAVADA
RAVITEJA SATYAVADA

Reputation: 2571

Heap out of memory exception

In my eclipse, while running a mapreduce program, it is throwing Out of memory exception I tryied with changing the parameters in eclipse.ini (-Xms40m -Xmx768m values to -Xms4000m -Xmx7680m) but still getting the same error. What would be the solution for this.

Upvotes: 0

Views: 78

Answers (1)

greg-449
greg-449

Reputation: 111216

The eclipse.ini setting only sets the heap for Eclipse itself.

For a program you run from Eclipse look at the Run Configuration for the program and set the -Xmx value in the VM arguments.

Upvotes: 1

Related Questions