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

Re: possible ozone 0.6 bug?



On Tue, 09 Jan 2001, Jean-Marc Vanel wrote:
> Thanks
> 
> Is there a formula (even 30% approximate) giving the memory requered as a function
> of file size, and/or node count, average node size ?

No, this highly depends on the structure of your XML data.

> 
> Is it true that these NullPointerException should be in fact "no more memory
> available" exceptions?

I really don't think so but it is possible.

> 
> I am getting pessimistic about loading my 15Mb of botanical descriptions in Ozone
> on my 64Mb Linux machine. I could load it with xml-db, but it has no XPath queries
> (and it's not free software).

64Mb is probably not enough. Do you really need all the data in one XML
document?


Falko

> 
> Last time I dropped the -mx32000000 argument of java, but it began to swap...
> I have to try again with the largest possible -mx value, without X-Windows etc
> running.
> 
> Is it necessarilly so that loading a file with Sax takes a lot of memory ?
> 
> I read the new page
> http://www.ozone-db.org/documentation5.html#topic4
> 
> but I don't have enough knowledge for now about B-trees and the like to guess the
> better config parameters for my case. Sure in the long term these config parameters
> should be computed by the software.
> 
> Thanks for any help.
> 
> JMV
> 
> 
> Falko Braeutigam a écrit :
> 
> > On Fri, 05 Jan 2001, Michael Keuchen wrote:
> > > Jean-Marc VANEL wrote:
> > > >
> > > > Thank you for for answer
> > > >
> > > > I'm willing to debug , but this is a ramdom error on a big file, happening
> > > > after 30 minutes or more !
> > > > So I need more hints than this.
> > > > About the "similar problem a few weeks ago", do you mean the "Error when
> > > > cloning DOM nodes, Michael Keuchen" thread, involving NodeImpl.cloneInto()
> > > > function ?
> > >
> > > No, this has been corrected.
> > > I don't know what mail Falko refers to.
> >
> > ... the 4.4MB XML file problem. I just wanted to make sure that this isn't just
> > a configuration problem. I've added some docu about config parameters to the
> > web page recently, please check this out. If nothing else this will at least
> > help to _dramatically_ drop your debug cycle times ;)
> >
> > Falko
> >
> > >
> > > Apparently, I have encountered a NullPointerException in
> > > Transaction.acquireContainer
> > > too, but I am not able to reproduce the error.
> > >
> > > Maybe you can find out in what line the NullPointerException is first
> > > thrown?
> > >
> > > mike
> > >
> > >
> > >
> > >
> > > > > [warn] (299) Transaction: createObject()
> > > > >     java.lang.NullPointerException
> > > > >         at
> > > > > org.ozoneDB.core.Transaction.acquireContainer(Transaction.java, Co
> > > > >             mpiled Code)
> > > > >         at org.ozoneDB.core.Transaction.createObject(Transaction.java,
> > > > > Compil
> > > > >             ed Code)
> > > > >         at org.ozoneDB.Database.createObject(Database.java, Compiled
> > > > > Code)
> > > > >         at org.ozoneDB.Database.createObject(Database.java, Compiled
> > > > > Code)
> > --
> > ______________________________________________________________________
> > Falko Braeutigam                              mailto:falko@smb-tec.com
> > SMB GmbH                                        http://www.smb-tec.com
> 
> --
> <person>
>   <firstName>Jean-Marc</firstName>
>   <lastName>Vanel</LastName>
>   <motto>Veni, vidi, convici</motto>
>   <conference>9th International World Wide Web Conference - Amsterdam, May 15-19,
> 2000
>    <a href="/ozone-users/01-2001/http://www.www9.org/">site</a>
>   </conference>
>   <project>Worlwide Botanical Knowledge Base -
>       making botany available on Internet
>     <a href="/ozone-users/01-2001/http://wwbota.free.fr/" >site</a>
>   </project>
>   <a href="/ozone-users/01-2001/http://jmvanel.free.fr/>home page</a>
>   <a href="/ozone-users/01-2001/mailto:jmvanel@free.fr">mail (possibly put "wwbota" in subject to route
> your mail in relevant folder)</a>
> </person>
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com