Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspected native thread leakage in Slick 3.0.0-M3 #1132

Closed
adatoo opened this issue Apr 15, 2015 · 1 comment
Closed

Suspected native thread leakage in Slick 3.0.0-M3 #1132

adatoo opened this issue Apr 15, 2015 · 1 comment

Comments

@adatoo
Copy link

adatoo commented Apr 15, 2015

Environment:

  • Play Framework 2.3.8
  • Postgres JDBC Driver 9.4-1201-jdbc41
  • JDK 7 / 8

Having followed (this)[http://blog.knoldus.com/2015/03/03/play-with-reactive-slick-a-simple-crud-application-in-play-framework-using-slick-3-0/] article to integrate Slick into Play, I am finding that running my full test suite results in a java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native thread error. Testing a subset of the tests works fine.

Stacktrace:

Exception encountered when attempting to run a suite with class name: unit.services.admin.DeviceTypeServiceSpec *** ABORTED ***
[info]   java.lang.OutOfMemoryError: unable to create new native thread
[info]   at java.lang.Thread.start0(Native Method)
[info]   at java.lang.Thread.start(Thread.java:714)
[info]   at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949)
[info]   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
[info]   at scala.concurrent.impl.ExecutionContextImpl$$anon$1.execute(ExecutionContextImpl.scala:136)
[info]   at slick.backend.DatabaseComponent$DatabaseDef$class.runSynchronousDatabaseAction(DatabaseComponent.scala:224)
[info]   at slick.jdbc.JdbcBackend$DatabaseDef.runSynchronousDatabaseAction(JdbcBackend.scala:38)
[info]   at slick.backend.DatabaseComponent$DatabaseDef$class.runInContext(DatabaseComponent.scala:201)
[info]   at slick.jdbc.JdbcBackend$DatabaseDef.runInContext(JdbcBackend.scala:38)
[info]   at slick.backend.DatabaseComponent$DatabaseDef$class.runInternal(DatabaseComponent.scala:75)
[info]   ...
@szeiger
Copy link
Member

szeiger commented Apr 15, 2015

@szeiger szeiger closed this as completed Apr 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants