Where is the eclipse.ini in MAC OS for java.lang.OutOfMemoryError: Java heap space

1. Right click [eclipse] icon and select [Show Package Contents].

 2.[Contents]->[MacOS]->eclipse.ini, increase the Java heap size for your application.

-Xms<size>        set initial Java heap size
-Xmx<size>        set maximum Java heap size