Hi,
I'm trying to transform a large file that contains lots of elements,
some large CALS tables with lots of entries.
The transformation doesn't fail, no out of memory errors, but the output
(StreamResult) contains a chunk to zero bytes, about 10KB, in the middle
of the file: starts with with normal XML, zero bytes chunk and then
continues with normal XML. The total file size is 12MBytes, which I
don't think is very big.
It's only happening for a particular data file, the largest one, other
slightly smaller files with similar complexity process correctly.
This only happens on a CentOS Linux 7, if I run it on a MacOSX, there
are no problems.
I was using Xalan 2.7.1 but I also tested with Xalan 2.7.2 and Xerces
2.11.0 and get same result.
I'm running with jdk1.6, tested both the default IceTea version and the
Oracle jdk 6 and still get the same result.
I increased the heap size to about 8GB but it makes no difference, but
anyway I wasn't getting any out of memory errors.
Any idea what could be wrong?
Carlos