From: Wolfgang M. <me...@if...> - 2003-02-20 18:48:16
|
Please excuse, I just found another possible cause for the EOFException. I will try to work out a bug-fix until tomorrow. Wolfgang > Hi, > > EOFExceptions have already been reported by several people. You should change > method BFile.ClockPageBuffer.flush() (see > src/org/exist/storage/BFile.java) to correctly write the file header on > database shutdown. The corresponding method (around line 1950) should look > like this: > > public void flush() { > DataPage page; > for (Iterator i = queue.iterator(); i.hasNext();) { > page = (DataPage) i.next(); > if (page.isDirty()) > try { > page.write(); > fileHeader.write(); // <---- inserted > } catch (IOException ioe) { > ioe.printStackTrace(); > } > } > } > > Please tell me if this bug-fix works. Alternatively, you may try to install > the current CVS version. > > > i use exist-0.9 embed. with w2k and tried to add 40-50 800kb size documents > > in the database. Unfortunately I get the attached exception after 20-30 > > documents. Are the filesizes to big? > > How much xml-data can the database store? > > The filesizes should not be a problem. I have been able to store single > documents with 200MB or thousands of small documents (400MB). However, I'm > still trying to fix some problems related to memory usage and out-of-memory > errors. The CVS version does already fix some of these issues. > > Wolfgang > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open > -- |