Re: unable to create new threads: out-of-memory issues

2019-02-12 Thread Erick Erickson
(my blog) > > > On Feb 12, 2019, at 6:58 AM, Martin Frank Hansen (MHQ) wrote: > > > > Hi Mikhail, > > > > Thanks for your help. I will try it. > > > > -Original Message- > > From: Mikhail Khludnev > > Sent: 12. februar 2019 15

Re: unable to create new threads: out-of-memory issues

2019-02-12 Thread Walter Underwood
;> the threads are coming from. Is it correct that when creating a >> SolrClient, I also create a new thread? >> >> SolrClient solr = new HttpSolrClient.Builder(urlString).build(); >> >> Thanks >> >> -Original Message----- >> From: Mikhail

RE: unable to create new threads: out-of-memory issues

2019-02-12 Thread Vadim Ivanov
Hi! I had the same issue and found that actual problem with the file limit (in spite of the error message) To increase file limit: On Linux, you can increase the limits by running the following command as root: sysctl -w vm.max_map_count=262144 To set this value permanently, update the

RE: unable to create new threads: out-of-memory issues

2019-02-12 Thread Martin Frank Hansen (MHQ)
Hi Mikhail, Thanks for your help. I will try it. -Original Message- From: Mikhail Khludnev Sent: 12. februar 2019 15:54 To: solr-user Subject: Re: unable to create new threads: out-of-memory issues 1. you can jstack to find it out. 2. It might create a thread, I don't know. 3

Re: unable to create new threads: out-of-memory issues

2019-02-12 Thread Mikhail Khludnev
lient.Builder(urlString).build(); > > Thanks > > -Original Message- > From: Mikhail Khludnev > Sent: 12. februar 2019 15:09 > To: solr-user > Subject: Re: unable to create new threads: out-of-memory issues > > Hello, Martin. > How do you index? Where did yo

RE: unable to create new threads: out-of-memory issues

2019-02-12 Thread Martin Frank Hansen (MHQ)
create a new thread? SolrClient solr = new HttpSolrClient.Builder(urlString).build(); Thanks -Original Message- From: Mikhail Khludnev Sent: 12. februar 2019 15:09 To: solr-user Subject: Re: unable to create new threads: out-of-memory issues Hello, Martin. How do you index? Where

Re: unable to create new threads: out-of-memory issues

2019-02-12 Thread Mikhail Khludnev
Hello, Martin. How do you index? Where did you get this error? Usually it occurs in custom code with many new Thread() calls and usually healed with thread poling. On Tue, Feb 12, 2019 at 3:25 PM Martin Frank Hansen (MHQ) wrote: > Hi, > > I am trying to create an index on a small Linux server