1

This issue happened twice during the last two weeks. Every time (after more than 24 hours) the process ram was around 500mb and then it starts to rise - in 10-15 minutes it got to 4g (Xmx) and threw OutOfMemory. After that Tomcat became useless.

The process runs on jdk 1.6.30 and tomcat 7.0.42 on ubuntu 12.04 using Nio connector with default settings. The server implements async servlet request to provide long polling (push) mechanism.

From the heap dump it appears all the heap is filled with EPollArrayWrapper.Updator instances coming from the BlockPoller-1 thread.

The code responsible for adding Updators is updateRegistrations but my understanding stops here.

Any help on how to debug / reproduce this scenario or reference to known issues on the Tomcat/Java mailing lists is appreciated.

Chen Harel
  • 9,684
  • 5
  • 44
  • 58

0 Answers0