Closed DavidNemeskey closed 7 years ago
It seems as if there was an ever-growing HashMap
(maybe an unbounded cache) in the code somewhere.
Seems like the monotonic grows is present even if I only invoke QunToken, so it might well be something inside GATE.
@temprimus Could you please take a look at this issue? Do you have any ideas? Thank you.
I did some profiling with a dummy module and probably found the issue (hopefully this was the only one) and pushed a fix to it.
@DavidNemeskey could you test if it's still "leaking"
@temprimus Thanks, that solved it.
Thank you, @temprimus. :)
I am trying the process the Webcorpus with hunlp-GATE (QT, HFST, PurePOS). I regularly run into
OutOfMemoryError
s. I am running GATE as a server and I send the data 20k-character chunks at a time.I log the input and the output XML, as well, and when I send to the server the input that supposedly caused the error, it runs without a hitch. This shows that the problem is most likely caused by a memory leak somewhere in GATE or in one of the components I use:
I run the server with
-Xmx20g
.This trace seems to point to PurePOS as well, but it can also be a coincidence.