java.lang.OutOfMemoryError

unable to create new native thread

Solutions on the web2573

  • via Coderanch by sheshasai sai, 8 months ago
    unable to create new native thread
  • via Eclipse Bugzilla by hdohlmann, 5 months ago
    unable to create new native thread
  • via Eclipse Bugzilla by nick.entin, 3 weeks ago
    unable to create new native thread
  • Stack trace

    • java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:691) at com.sun.jndi.ldap.Connection.<init>(Connection.java:231) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1600) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307) at javax.naming.InitialContext.init(InitialContext.java:242) at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153) at com.xxxxx.xxxxx.server.ldap.LdapConnection.open(LdapConnection.java:115) at com.xxxxx.xxxxx.server.ldap.LdapConnection.open(LdapConnection.java:97) at com.xxxxx.xxxxx.server.ldap.LdapLoginModule.attemptAuthentication(LdapLoginModule.java:325) at com.xxxxx.xxxxx.server.ldap.LdapLoginModule.login(LdapLoginModule.java:175) at sun.reflect.GeneratedMethodAccessor10194.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695) at javax.security.auth.login.LoginContext.login(LoginContext.java:594)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    8 times, 1 month ago
    Once, 2 months ago
    530 times, 3 months ago
    3 times, 4 months ago
    Unknown user
    Once, 5 months ago
    31 more bugmates