[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.StackOverflowError



On Sat, 13 May 2000, Steve Evans wrote:
> Hi,
> 
> I am trying to store a 1.5 Meg file into an ozone DB, and get:
> 
> [/opt/ozone/bin]$ java -Xms16m -Xmx256m Store 
> /opt/ozone/data/artist_info.xml localhost 3500
> filename: /opt/ozone/data/artist_info.xml
> hostname: localhost
> dbport: 3500
> parse into memory time: 11080 ms
> Exception in thread "main" java.lang.StackOverflowError
>          at 

[snip]

> I tried to increase the Java memory allocation to no avail. If I cut the 
> XML file down to 400K, it works.
> 
> Any suggestions would be greatly appreciated.

Use SAXStore instead Store. SAXStore is much better because it doesn't try to
serialize the entire DOM tree at once but sends SAX event chunks to the server.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de