At moment we have a process that take files and read them apply the xpath to find some things and for the first files works fine, but then we start to see that memory has a consumption really high until arrive to OOM we check the heap dump and see that instances of axeswalkers are using the memory but the first process finish correctly the others start to take more and more time until we get the OOM. its some suggestion about how to delete this objects axeswalkers some advice will be welcome.
Regards.
we tried to put the reference to documents and builders in null after the xpath is validated but yet receive this objects in memory.