-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum requirements #108
Comments
Dear @Lrakotoson thank you for your question, indeed it's not specified anywhere. In fact, this depends mostly on which entry point you're going to use. |
Hi @lfoppiano |
Well, Status Memory Available Used (compressed) Grobid-quantities Platform
None 8 4.5 3.5 3.2 0.0 Win10
Load app 8 4.2 3.8 3.6 0.3 Win10
Load model 8 3.0 5.0 4.8 1.5 Win10 During use, i.e. after loading the models, it takes up 1.5GB of RAM. |
@Lrakotoson Could you please describe how did you test? How many paragraphs/sentences did you send? Did you run them sequentially? Did you use any performance tool, like jmeter or you performed from the interface? |
I've made a short test with locust and 12-13 sentences took from the test cases in the interface. It's not an exhaustive test, to be honest, but it's a start. Indeed 1.5 Gb of ram seems reasonable for the text processing. I've tested on a Linux server with Centos. The server is running other applications, but I didn't see any problem. You can see the memory consuption is constant: I've ran locust with 10 users using a hatch of 10 seconds to spawn each user. You can use my script which I've just added with commit d5942d0 |
I recorded the performances on the task manager for each "step" during the initialization of the program (starting server, loading models, running). |
I would like to know the minimum required to run grobid quantities.
I have seen that it loads a number of models when I run it on my personal machine.
But when I try to run on a virtual machine with 2.75GB of RAM the simple example
curl -X POST -F "text=I've lost two minutes." localhost:8060/service/processQuantityText
it doesn't even finish loading the model and comes across this error (in the command window):
Loading feature templates. Loading model: ............................................. Loading feature templates. Loading model: WARN [2020-08-10 12:33:48,759] org.eclipse.jetty.server.HttpChannel: /service/processQuantityText ! java.lang.OutOfMemoryError: Java heap space
Until
So I would like to know the minimum required grobid-quantities, before testing one by one the memory levels. Thanks a lot!
The text was updated successfully, but these errors were encountered: