Phil / Moraine,
I added the changes for the query & close bugs and committed them to the current CVS head.
If you could check out the latest and give it a test I would really appreciate it.
Thank you both for digging in and help support the project.
Regards John G
Phil Friedman wrote:
After a bit of testing, we've found that transforming larger documents (more sql batches) the JVM requires much more memory for the same SQL as Xalan 2.0.1. We're using -Xmx1024m but we still get java.lang.OutOfMemoryError. While we can transform the same file (as well as 5x larger files) in 2.0.1 and the JVM never grows beyond 128MB to complete. Any ideas?
Moraine Didier wrote:
Hem ... You're right Phil, I have problem with my previous code also.
This one seems to work better ;-)
public void close(Object sqldoc) throws SQLException {
if (DEBUG)
System.out.println("Entering XConnection.close(" + sqldoc + ")");
DTMNodeIterator dtmIter = (DTMNodeIterator)sqldoc;
XNodeSet xNS = (XNodeSet)dtmIter.getDTMIterator();
OneStepIterator iter = (OneStepIterator)xNS.getContainedIter();
DTMManager aDTMManager = (DTMManager)iter.getDTMManager();
SQLDocument sqlDoc = (SQLDocument)aDTMManager.getDTM(xNS.nextNode());
sqlDoc.close();
}
-- -------------------------------------- John Gentilin Eye Catching Solutions Inc. 18314 Carlwyn Drive Castro Valley CA 94546
Contact Info [EMAIL PROTECTED] Ca Office 1-510-881-4821 NJ Office 1-732-422-4917
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
