Running Eclipse With More Memory
The -vmargs argument can be used to pass arguments about the virtual machine. This is an example :
eclipse -vmargs -Xmx256M
This command tells Eclipse to run with a maximum of 256 MB of RAM. RAM size depends on how much RAM you have.