<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Hi all, <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<pre><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>I am using JDOM XPath, but on trying to load a large xml file (10 MB) to use jdom XPath, I am getting &#8220;java.lang.OutOfMemory&#8221; error, as my requirement is to use more then 10MB XML files, any idea how 10 MB XML file using a SaxBuilder would run out of memory? How does the DTD validation of an XML parser handle this?<o:p></o:p></span></font></pre><pre><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>I'd appreciate any ideas or knowledge in this area. <o:p></o:p></span></font></pre><pre><font
size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></font></pre>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>Sukhvinder Singh</span></font><font size=2 face=Verdana><span
style='font-size:10.0pt;font-family:Verdana'><o:p></o:p></span></font></p>

</div>

</body>

</html>