<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: [jdom-interest] Huge XML file</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Joesph,</FONT>
</P>

<P><FONT SIZE=2>Have you tried increasing the heap size of the JVM?</FONT>
</P>

<P><FONT SIZE=2>java -Xms64m -Xmx64m </FONT>
</P>

<P><FONT SIZE=2>will set the initial and maximum heap sizes to 64MBytes. Try increasing the value until the problem stops.</FONT>
</P>

<P><FONT SIZE=2>How much physical memory is in your machine?</FONT>
</P>

<P><FONT SIZE=2>Best Regards,</FONT>
</P>

<P><FONT SIZE=2>Chris Newland</FONT>
</P>

<P><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Joseph Berdat [<A HREF="mailto:jberdat@eim.ch">mailto:jberdat@eim.ch</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: 13 December 2000 09:43</FONT>
<BR><FONT SIZE=2>&gt; To: 'jdom-interest@jdom.org'</FONT>
<BR><FONT SIZE=2>&gt; Subject: [jdom-interest] Huge XML file</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; When try to load in memory large xml file (10M), the </FONT>
<BR><FONT SIZE=2>&gt; exception OutOfMemory</FONT>
<BR><FONT SIZE=2>&gt; is thrown.</FONT>
<BR><FONT SIZE=2>&gt; What can I do to load this file?</FONT>
<BR><FONT SIZE=2>&gt; Thanks.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; **********************************************************************</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; This email and any files transmitted with it are confidential and</FONT>
<BR><FONT SIZE=2>&gt; intended solely for the use of the individual or entity to whom they</FONT>
<BR><FONT SIZE=2>&gt; are addressed. If you have received this email in error please notify</FONT>
<BR><FONT SIZE=2>&gt; the system manager.&nbsp; Please contact postmaster@eim.ch</FONT>
<BR><FONT SIZE=2>&gt; **********************************************************************</FONT>
<BR><FONT SIZE=2>&gt; _______________________________________________</FONT>
<BR><FONT SIZE=2>&gt; To control your jdom-interest membership:</FONT>
<BR><FONT SIZE=2>&gt; <A HREF="http://lists.denveronline.net/mailman/options/jdom-interest/yo" TARGET="_blank">http://lists.denveronline.net/mailman/options/jdom-interest/yo</A></FONT>
<BR><FONT SIZE=2>uraddr@yourhost.com</FONT>
</P>

</BODY>
</HTML>