Skip to content

gwieczorek-it/testing-with-wiremock

Repository files navigation

testing-with-wiremock

How to (not) test with wiremock - jetty threads problem

Using multiple wiremock rules with default configuration leads to OutOfMemoryError on jetty QueuedThreadPool

java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached

	at java.base/java.lang.Thread.start(Thread.java:804)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.startThread(QueuedThreadPool.java:641)

Threads using default wiremock configuration for jetty stopTimeout

Threads using wiremock with jetty stopTimeout set as default jetty value 30k

About

How to (not) test with wiremock - jetty threads problem

Resources

Stars

Watchers

Forks

Packages

No packages published