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