Sorry for the delay in responding (or for duplicate responses). I'm on the road with unreliable email.
 
I'm afraid I don't know what causes this - someone has suggested it's a limit on the Windows platform, and they may well be right. In any event, it's somewhere in the area of the Java VM and the operating system, and has nothing to do with Saxon. Saxon doesn't get a look in until the JVM is up and running.
 
Saxon has no intrinsic limits on file size, it's only limited by the underlying platform.
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Inga Sukhran
Sent: 21 August 2007 07:35
To: saxon-help@lists.sourceforge.net
Subject: [saxon] file size

 

Hello,

 

We use Saxon8.jar on PC by calling the CreateProcess function (from MFC code). We have a big XML file (130MB) and we get XML/XSL parse error.

We pass the following command line:

 

"java –Xmx1830m -jar saxon8.jar -w0 -o html_file xml_file xsl_file"

 

What is wrong here? Is –Xmx1830m parameter problematic? Does any limit for a file size exist?

 

Thank you in advance,

Best regards,

Inga