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

java.lang.OutOfMemoryError: unable to create new native thread when running large jacoco:test-only -- task on OSX 10.10 Yosemite #51

Open
linjer opened this issue May 28, 2015 · 0 comments

Comments

@linjer
Copy link
Contributor

linjer commented May 28, 2015

I have a fairly large project with lots of tests and on my computer only, running sbt "jacoco:test-only --" and Keys.fork in jacoco.Config := true, the task consistently dies at the same place, throwing java.lang.OutOfMemoryError: unable to create new native thread.

After much research, it looks like it may be due to the way the process allocates threads. Mac OSX seems to have a limit of 2048 taskthreads and cannot be changed, and this seems to be the limit that is being hit, but not completely sure.

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