XML Java Library to process large XML dumps

Hello everyone, I am now working on Wikipedia dump processing, similarly to what was done in the Extraction Framework. I am using Jackson for XML processing(https://www.baeldung.com/jackson-xml-serialization-and-deserialization)
While the library is quite useful for deserialization, I have encountered many issues while trying to process large XML files, mostly due to the files being larger than the total allocated memore.
Do you know of any Java libraries that work well with splitting XML for processing?