I suspect in my application that an outofmemoryerror is causing a a run() to exit, however because there were no logs, the error wasn’t visible.
What should i do in this case?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know about others, but never (IMHO)
catchorthrowsanything that extendsError. The followig statement from the javadoc states:An
Erroris printed withSystem.errand if you want to avoidOutofMemoryException, increase your heapsace instead.