Tomcat crashes with error java.lang.OutOfMemoryError: GC overhead limit exceeded
问题 After the tomcat ran several months, I got unexpectetly the error below. We restarted the tomcat and the error do not appear now but may be will come again in the future. I saw that another users had simmilar exceptions, related with the garbage collection, but not related exactly with the NIO connector. Does somebody has an idea why this happens and what should be the correct fix to avoid it. Jan 15, 2016 7:46:47 AM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor run SEVERE: java.lang