Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-30 Thread ankur.168
Hi Adrian, I am hitting lucene once per request and getting back one document. I have attached a sample I took some time back. Let me know if you need any other details. -- Sent from: http://lucene.472066.n3.nabble.com/Lucene

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-26 Thread Adrien Grand
Hello, You didn't say how many hits you fetch per request. Would you have screenshots of a heap dump analysis to share? Le jeu. 26 avr. 2018 à 11:02, ankur.168 a écrit : > Hi Adrien and others, > > Any suggestions here? > > Thanks > Ankur Bansal > > > > -- > Sent from: > http://lucene.472066.n3

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-26 Thread ankur.168
Hi Adrien and others, Any suggestions here? Thanks Ankur Bansal -- Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-19 Thread ankur.168
Currently I am hitting Lucene only 1 time per request, yes I have single searcherManager instance which i am using to acquire/release per request. I have 2 indexes, hence 2 searcherManager for respective indexReaders. -- Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.ht

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-19 Thread Adrien Grand
Sorry I was more asking about the number of hits that you ask for per request rather than the request rate. Regarding SearcherManager, I mostly wanted to make sure that you have a single SearcherManager instance that all threads acquire an IndexSearcher from. On the contrary to eg. having multiple

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-18 Thread ankur.168
Application is hit with average 11-12 TPS only currently with max as 20 TPS. Currently searcherManager is acquired and released per request/Thread. What do you mean by sharing searchermanager among multiple threads can you please give more details on this and how this can help me here? -- Sent f

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-18 Thread Adrien Grand
How many hits do you typically ask for? Do you share the SearcherManager object across threads? (you should if not) Le mer. 18 avr. 2018 à 14:34, ankur.168 a écrit : > ok, So have gone through few more searching. I have found that *MMap uses > only virtual memory not JVM allocated memory*. But w

Re: Lucene 6.5.1 memory consumption on 64 bit linux System

2018-04-18 Thread ankur.168
ok, So have gone through few more searching. I have found that *MMap uses only virtual memory not JVM allocated memory*. But what about SearcherManager or ScoreDocs? I can see in heap dump most of the space is taken by either multiple scoredoc[] or searchermanager object. Can you guys help me her