java.lang.OutOfMemoryError: unable to create new native thread

wordpress.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java OutOfMemoryError: unable to create new native thread – Blind Coder

    wordpress.com | 8 months ago
    java.lang.OutOfMemoryError: unable to create new native thread
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      unable to create new native thread

      at java.lang.Thread.start0()
    2. Java RT
      InitialLdapContext.<init>
      1. java.lang.Thread.start0(Native Method)
      2. java.lang.Thread.start(Thread.java:691)
      3. com.sun.jndi.ldap.Connection.<init>(Connection.java:231)
      4. com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
      5. com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1600)
      6. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
      7. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
      8. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
      9. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
      10. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
      11. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
      12. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
      13. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
      14. javax.naming.InitialContext.init(InitialContext.java:242)
      15. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)
      15 frames
    3. com.xxxxx.xxxxx
      LdapLoginModule.login
      1. com.xxxxx.xxxxx.server.ldap.LdapConnection.open(LdapConnection.java:115)
      2. com.xxxxx.xxxxx.server.ldap.LdapConnection.open(LdapConnection.java:97)
      3. com.xxxxx.xxxxx.server.ldap.LdapLoginModule.attemptAuthentication(LdapLoginModule.java:325)
      4. com.xxxxx.xxxxx.server.ldap.LdapLoginModule.login(LdapLoginModule.java:175)
      4 frames
    4. Java RT
      LoginContext.login
      1. sun.reflect.GeneratedMethodAccessor10194.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:601)
      4. javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
      5. javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
      6. javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
      7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
      10. javax.security.auth.login.LoginContext.login(LoginContext.java:594)
      10 frames