I had memory problems signing big XMLs, so I decided to make my own specific XML signature algorithm that works with an specific "home made JAXB", i finished it today and i discoverd two things,
one is that it signs faster than 1.04, but identical to 1.1, but of course much more less flexible, about memory ... the version 1.1 still uses a lot of memory, but I don�t know in which step, it�s not the C14n transformation, because I don�t apply any transformation at all, with my algorithm I use the JCE directly and it doen�t need much memory, but the "home made Jaxb" uses JDOM to instanciate itself...., so all the memory that I gain using JCE directly is being lost while loading the "JAXB" structure. The solution would be to replace the instantiation process of the jaxb from JDOM to DOM or maybe better using a SAX parser, but it would make the generated code dirtier. Is there any way to improve memory usage in 1.1 ???
