Lot of times your eclipse get crashed while working, because of out of memory. I would suggest to increase your memory in-case your project is huge and keep on crashing.
You can increase vm size of eclipse by changing eclipse.ini. There are memory argument for vm
“-vmargs -Xms40m -Xmx256m”
Even on increasing the memory, eclipse is crashing check the log, as lot of time installed plugins, lead of eclipse crashing.