java.lang.OutOfMemoryError: unable to create new native thread for multiple threads
- by Kaustubh Ranjan Singh
static class solver implements Runnable {
static calculator(problem){
//Some code
if(condition)
{solver s = new solver(newproblem);
new Thread(s).start();}
}
Public solver(int newproblem)
{
this.problem = newproblem ;
}…