Re: [bdbxml] environment creation takes too long/hangs

Itay Neeman <[email protected]> Mon, 17 Apr 2006 11:52:18 -0400
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
George,

So I was typing why it still didn't work when I managed to fix this.

The problem was that if I didn't delete my XmlQueryExpression and  
QueryContext it would still tell me handles are open. But now it  
works just fine.

Thank you!

> Itay,
>
> You should generally use the .delete() methods rather than .close().
>
> Your problem could be with opening too many XmlContainer objects.
> You only need one for each actual container, and that can be shared  
> among
> your threads.  Are you doing this?
>
> If so, you should be able to just delete() them when done with a  
> container.
> If that has problems, it'd be good to know what.    You also need  
> to be
> sure to delete() any objects that may hold references to the  
> XmlContainer,
> notably XmlResults, XmlValue, and XmlDocument.
>
> There's an FAQ entry on this:
> 	http://dev.sleepycat.com/resources/faq_show.html?id=79
>
> Regards,
>
> George
>>

Itay A. Neeman
[email protected]





------------------------------------------
To remove yourself from this list, send an
email to [email protected]