<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html >
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
font-face
        {font-family:Verdana;}
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
        {
        font-family:Arial;
        color:windowtext;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<DIV id=idOWAReplyText89014 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Did you try increasing your
heap size?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> jdom-interest-bounces@jdom.org on behalf
of Sukhvinder Singh<BR><B>Sent:</B> Wed 8/3/2005 9:58 AM<BR><B>To:</B>
jdom-interest@jdom.org<BR><B>Subject:</B> [jdom-interest] java.lang.OutOfMemory
with an 10 MB xml file??<BR></FONT><BR></DIV>
<DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Hi all, </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"></SPAN></FONT> </P><PRE><FONT face=Verdana size=2><SPAN style="FONT-SIZE: 10pt; 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 “java.lang.OutOfMemory” 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?</SPAN></FONT></PRE><PRE><FONT face=Verdana size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> </SPAN></FONT></PRE><PRE><FONT face=Verdana size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">I'd appreciate any ideas or knowledge in this area. </SPAN></FONT></PRE><PRE><FONT face=Verdana size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> </SPAN></FONT></PRE>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Thanks,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Sukhvinder
Singh</SPAN></FONT><FONT face=Verdana size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"></SPAN></FONT></P></DIV></DIV>
</body>
</html>