Closed igormp closed 4 years ago
there isn't a stopVM() right now, but I agree, would be great. If you can send a PR @igormp that would be awesome.
Hi @chrismattmann ,
I'm also facing this issue, It would be great if you can resolve ASAP
Thanks
I created a draft PR that tries to solve that. I'll try to give it a better look and finish it as soon as I can.
After processing all the PDFs I needed, I noticed that the Tika server was still up and running in the background, eating a lot of RAM (usually between 1~1.8gb after having processed ~4000 PDFs).
Is there a way to end the server after doing everything needed, through the library itself? If not, a
tika.stopVM()
would be something interesting to have.