Sometimes, depending on a lot of circumstances, Eclipse user can face the famous OutOfMemoryError. Unfortunately our users sometime face this error.
Eclipse default handling for such errors prompts the user as following:
I am asking myself: is there any more useful information we can provide to the end user in order to prevent such errors to occur again ???
May be I can parse the Error message to check if it’s a heap or permanent generation out of memory ? Thus I will be able to tell the user: add the following option when launching the product.
It also appears that sometimes this dialog is not opened, and the error is only logged in the .log file. Does it depends on the thread throwing the error …
Do you handle these errors differently than Eclipse in you custom products ? If yes, how ?
I would be interested in any comments suggestions on that topic.