java - Tomcat NioBlockingSelector$BlockPoller many Updators causes OutOfMemoryError -


this issue happened twice during last 2 weeks. every time (after more 24 hours) process ram around 500mb , starts rise - in 10-15 minutes got 4g (xmx) , threw outofmemory. after tomcat became useless.

the process runs on jdk 1.6.30 , tomcat 7.0.42 on ubuntu 12.04 using nio connector default settings. server implements async servlet request provide long polling (push) mechanism.

from heap dump appears heap filled epollarraywrapper.updator instances coming blockpoller-1 thread.

the code responsible adding updators updateregistrations understanding stops here.

any on how debug / reproduce scenario or reference known issues on tomcat/java mailing lists appreciated.


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -