Open pvalsecc opened 6 years ago
We noticed the same and analyzed it. It seems, that XCDElementDeclarationImpl objects add up. They are referenced through the schema in the GML (XSD) sigleton from the GeoTools and they reference to one another so they are never garbage collected. @FrediWeber
Yeah, I've seen problems in that area too, but never really found the culprit. Can you create a ticket in geotools, please?
@svavoi do you have some test data/layers that reproduce this problem that I can use? I am trying to dig into this. Thanks in advance
Hi Andrea. You can reproduce it with the batch prints of agridea.
Le 25 mai 2020 14:31:21 Andrea Borghi notifications@github.com a écrit :
@svavoi do you have some test data/layers that reproduce this problem that I can use? I am trying to dig into this. Thanks in advance— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@pvalsecc thanks for the hint ;)
The profiler tends to show a huge amount of objects in relation with XML schema caches deep down within dependencies of GeoTools.
The suspect is a layer with a SLD and a filter:
The current, but very ugly work around is to add those to CATALINA_OPTS (works only if you have something restarting your web server):
Some prints will fail, but the print at least restarts.