joost jar - OutOfMemory error
Posted on 2006-05-08
I am running the joost.jar (utility for transforming xml files to other xml files) on a large xml file (10.1 MB) as follows:
c:\j2sdk1.4.2_08\bin\java -cp c:\work\cmp\deployment\mappers\jars\joost.jar;C:\work\cmp\deployment\ecmp\tangoe-ecmp-app.jar net.sf.joost.Main "C:\Marwan\belgacom\NewStxTesting\der_invoice.xml" C:\Marwan\belgacom\NewStxTesting\belgacomediTCDFREE.stx > cdrfree_test.xml
In this belgacomediTCDFREE.stx file, I am just doing an identical tranformation (the output would be identical to the input - with just difference in newline positions), but it's giving an OutOfMemory Error at the end (while close to completion)...is there any option in which I can give more memory to a jar file that I want to run??