Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty native memory leak


On Tue, Jun 24, 2014 at 12:52 PM, dhiraj prajapati <dhirajpraj@xxxxxxxxx> wrote:
> Hi,
> I used jstack to take the thread dumps.
> PFA the thread dumps taken at intervals of 5 minutes.(order is td2014062301,
> then td2014062302 and then td2014062303 )
> JDK version is jdk1.7.0_45
> Jetty version is jetty-all-9.1.2.v20140210.jar.
> I allocated 1 GB of heap space to the application, but the application was
> using 6.6 GB memory (2.7 GB swap space) before I restarted the application.
> RAM on the machine is 8GB.

>From your own stack traces, Jetty allocates 8 selector threads.

You application also uses Netty, and it's Netty that allocates the
other (~500) selector threads.
I suspect you have misconfigured Netty.

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

Back to the top