I must admit that I never took the time to configure my Eclipse configuration (in Eclipse.ini file or with the launch command options).
Because I was bored of messages like "Eclipse is running out of memory...", I decided to find some information about the Eclipse configuration.
This is my eclipse.ini file:
With this configuration, all OutOfMemory exceptions have gone, at least for the moment
Do not hesitate to share your experience.
Note that configuration depends on your usage of Eclipse...
I am using Eclipse to develop web applications, using Spring, Hibernate, JSF (with JBoss Tools), Tomcat...