Can any one help me out to fix the error, which i have got as below.
The script(new.ksh) that converts the xml to txt file could not handle the huge file size. It get failed while the script running, and i could not found a solution for this error.
Exception in thread "main" java.lang.OutOfMemoryError
/welcome/new.ksh: ERROR: performing: java -Xmx512m -mx1024m -Xss1024m -Xoss1024m -jar /welcome/saxon.jar -o /welcome/out.txt /welcome/in.xml /welcome/link.xsl stream=CUSTOMER
Anyone knowing the solution for this, please write back.
Thanks in advacne
That is not what I told you to try - are you going out of your way to not want to be helped?
And I already told you - fix the code so it doesn't need to use so much memory. There is no band aid to be applied here, your application is just horribly inefficient. Or leaking memory by the bucket loads, but that too requires fixing the code itself. Which requires understanding the code first.