Closed DavidNemeskey closed 6 years ago
They replaced DocumentXmlUtils.toXml() with DocumentStaxUtils.toXml() for xml serialization which not only seems to take twice as long at the first run, but also gets slower and slower over time. Replaced the call to use the old version which seems to have solved the issue.
TL;DR
It turns out GATE 8.4 is buggy. Don't use it! This issue doesn't exist under 8.2.
Description
When run via gate-server.sh, hunlp-GATE (the latest version) gets slower after each request. This is the output of the test script I attached:
If I stop the script and start it again, the number of seconds needed to complete the request do not reset:
Clearly, something is leaking in the server. However, it is not the components I use; I logged the time need for them to do their thing, and it is the about the same at each iteration. So it must be something in GATE, and after the pipeline has run, because that's where the lag is.
Environment: GATE: 8.4.1 (latest) hunlp-GATE: latest JRE: OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
The issue is not reproducible with GATE 8.2.
test_server.txt