On 20-Nov-07, at 8:16 AM, Brian Carmalt wrote:

Hello all,

I started looking into the scalability of solr, and have started getting weird results.
I am getting the following error:

Exception in thread "btpool0-3" java.lang.OutOfMemoryError: unable to create new native thread
       at java.lang.Thread.start0(Native Method)
       at java.lang.Thread.start(Thread.java:574)
at org.mortbay.thread.BoundedThreadPool.newThread (BoundedThreadPool.java:377) at org.mortbay.thread.BoundedThreadPool.dispatch (BoundedThreadPool.java:94) at org.mortbay.jetty.bio.SocketConnector$Connection.dispatch (SocketConnector.java:187) at org.mortbay.jetty.bio.SocketConnector.accept (SocketConnector.java:101) at org.mortbay.jetty.AbstractConnector$Acceptor.run (AbstractConnector.java:516) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:442)

This only occurs when I send docs to the server in batches of around 10 as separate processes.
If I send the serially, the heap grows up to 1200M and with no errors.

Could be running out of stack space (which is used by other things as well as threads). But its hard to imagine that happening at 30 threads.

-Mike


Reply via email to