Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] OutOfMemoryError

Noticed developers just commit to jetty

477817 Fixed memory leak in QueuedThreadPool

can this fix my problem?

2015-09-21 1:42 GMT+08:00 Muhui Jiang <jiangmuhui@xxxxxxxxx>:
I tried to use jetty client to scan many website.

But it seems every time I let the client start and it will creates a new thread

I am trying to know how to delete it after my client finish the request.

java.lang.OutOfMemoryError: unable to create new native thread

at java.lang.Thread.start0(Native Method)

at java.lang.Thread.start(Thread.java:714)

at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:462)

at org.eclipse.jetty.util.thread.QueuedThreadPool.doStart(QueuedThreadPool.java:113)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)

at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)

at org.eclipse.jetty.http2.client.HTTP2Client.doStart(HTTP2Client.java:155)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


Best Regards

Muhui Jiang



Back to the top