Hi Ed,

I am interested in knowing the hardware that you used.
Pl let me know.

Thanks,
Sandeep Kumar


-----Original Message-----
From: Kenworthy, Edward (EDS) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 2:22 AM
To: '[EMAIL PROTECTED]'
Subject: RE: OUT OF MEMORY Exception, is it posible to sing a big XML ????


Hi

8megs isn't big! :-)

Try

-Xms256m -Xmx256m

I need to sign large XML documents. Little tiddlers (7k) I can sign in
<1sec, 12meg documents take about 20s, however once I get to the maximum
size I need to sign (around the 25megs mark) it churns away for ages before
finally throwing an out of memory exception. My investigations suggests this
is an inherent limitation of a DOM based solution (which is pretty much
every software-based signer, including Apache). The killer is actually the
c14n transformation- not the hashing or signing.

How did I solve it? By using a device that does XML transformations in
hardware :-) Ask me off list if you want more information.

Edward

-----Original Message-----
From: Martin Labarthe Dubois [mailto:[EMAIL PROTECTED]
Sent: 14 April 2004 17:38
To: [EMAIL PROTECTED]
Subject: OUT OF MEMORY Exception, is it posible to sing a big XML ????


Hello,

I need to sign a bigXML (aprox. 8900 KB), but I receive an OutOfMemory
Exception,

i set the JVM -Xmx to
-Xmx1024m

but I still receive the error, is there a way to avoid this problem???


Thanks,
Martin



Reply via email to