Hi!
With StAX version of signature verification I get OutOfMemory exception. I'm using xmlsec-2.0.8.jar. Exception is thrown at line "inboundXMLSec.processInMessage(xmlStreamReader);" (file: SignatureUtils, method verifyUsingStAX).
XML file size is ~900 MB.