That is a large file. The normal rule of thumb is that an xml file read into a Document Object Model increases to about 6 times the size on disk.
This would mean that you would have to increase your mx setting to be around 1.5 Gigabyte. This is probably not what you want. The only suggestion I can give you is to either use an element handler: http://www.dom4j.org/apidocs/org/dom4j/ElementHandler.html Note: make sure to detach processed nodes. Or use a SAX implementation instead. Regards, Edwin -- http://www.edankert.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user