<div>Yeah, it's a large database i'm dealing with. I simply don't have enough memory to allocate to avoid the error. </div>
<div> </div>
<div>I was looking at possible solutions and found some documentation about a SAX + DOM Mix (SAXDOMIX) that sounds interesting. Link: <a href="http://www.devsphere.com/xml/">http://www.devsphere.com/xml/</a></div>
<div> </div>
<div>Has anyone implemented anything like this before. I don't have much experience using JDOM and none using SAX. I'm greateful for any help. Thanks. </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 5/22/07, <b class="gmail_sendername">Hielke Hoeve</b> <<a href="mailto:hielke.hoeve@gmail.com">hielke.hoeve@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 22/05/07, Jason Hunter <<a href="mailto:jhunter@servlets.com">jhunter@servlets.com</a>> wrote:<br>
> What do you mean that you increased virtual memory? In Java the best<br>> thing to do is increase the heap size.<br>><br>> java -Xms128m -Xmx512m Foo<br>><br>> Maybe you have more than 512M to throw at the problem. If that doesn't
<br>> work, then you can change your code to write elements at a time and let<br>> them GC so you won't run out of memory. You just need to do a little<br>> manual work for the root element wrapper.<br><br>He will probably need more if it's a very large database. Oracle can
<br>go crazy on it's database size.<br><br>Hielke<br>_______________________________________________<br>To control your jdom-interest membership:<br><a href="http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com">
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com</a><br></blockquote></div><br>