View Single Post
Old 03-15-2022, 10:44 AM   #238
retval
Enthusiast
retval began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Mar 2011
Device: none
strange behavior

Greetings to all. Thank you for your replies.
I was able to install the programs correctly.
Elasticsearch was left with this path in PowerSearch
C:\Program Files\Elasticsearch\7.16.1\bin\elacticsearch.exe
Pdftotext was left here:
C:\Program Files\xpdf-tools-win-4.03\bin64\pdftotext.exe

As I indicated before I have more than 36000 books. That is why the first indexing took more than 12 hours (I don't know precisely because it finished in the early hours of the morning).
For statistical purposes I use an i5-4460, 3.20GHz. 16gb ram. At 2 hours the windows 10 manager indicated a usage of 30% CPU, 50% Ram and 40° of temperature on the ssd. It could continue to work normally on the pc.
After 8 hours it occupied 100% of the CPU, 94% of the ram and 43° of heat. It could no longer work, as it consumed all the resources. Of the 4 cores of the processor only 2 were used and 1.5 gb of ram for ElacticSearch. Is this behavior normal?

After the first indexing I did some searches and it reached 20% after an hour. I think it may be because of the large number of books. I tried it several times and the result was similar. When I cancelled the search it showed me the results I had already achieved.
The strange thing is that putting few books, about 20, and doing a search only in those selected books it searches the whole library, which is very slow. When cancelling it shows the results in the selected books. The logical thing is that the search on selected books does not use the whole library. I don't understand this.

Another strange thing is that there is always running an ElacticSearch process called "OpenJDK Platform binary" located in C:\Program Files\ElasticElasticsearch\7.16.1\jdk\bin\java.exe which takes up about 250mb of ram even though Calibre is closed. In fact it starts with windows 10.
How can that process be closed automatically so as not to waste resources?

One suggestion is to have PowerSearch display a result that indicates how many times the search term is found in each book. This could perhaps be displayed in an additional column. Then we could see the books in which the search finds better results, at least quantitatively..

Thanks again.
retval is offline   Reply With Quote