Starting local Bazel server and connecting to it... Internal error thrown during build. Printing stack trace: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached at java.base/java.lang.Thread.start0(Native Method) at java.base/java.lang.Thread.start(Thread.java:803) at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1343) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor.executeRunnable(AbstractQueueVisitor.java:306) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor.execute(AbstractQueueVisitor.java:293) at com.google.devtools.build.skyframe.NodeEntryVisitor.enqueueEvaluation(NodeEntryVisitor.java:100) at com.google.devtools.build.skyframe.ParallelEvaluatorContext.signalValuesAndEnqueueIfReady(ParallelEvaluatorContext.java:132) at com.google.devtools.build.skyframe.SkyFunctionEnvironment.commit(SkyFunctionEnvironment.java:818) at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:549) at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) unable to create native thread: possibly out of memory or process/resource limits reached ERROR: bazel ran out of memory and crashed. WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 60) WARNING: Waiting for server process to terminate (waited 10 seconds, waiting at most 60) WARNING: Waiting for server process to terminate (waited 30 seconds, waiting at most 60) INFO: Waited 60 seconds for server process (pid=25242) to terminate. WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 10) WARNING: Waiting for server process to terminate (waited 10 seconds, waiting at most 10) INFO: Waited 10 seconds for server process (pid=25242) to terminate. FATAL: Attempted to kill stale server process (pid=25242) using SIGKILL, but it did not die in a timely fashion.