Re: [bdbxml] environment creation takes too long/hangs
"delta 78" <[email protected]> Mon, 17 Apr 2006 09:45:02 -0700
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_10954_13602304.1145292302889 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Checkpointing was the solution! Thank you George and Tom. -D On 4/17/06, Itay Neeman <[email protected]> wrote: > > 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=3D79 > > > > Regards, > > > > George > >> > > Itay A. Neeman > [email protected] > > > > > > ------------------------------------------ > To remove yourself from this list, send an > email to [email protected] > > ------=_Part_10954_13602304.1145292302889 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Checkpointing was the solution!<br><br>Thank you George and Tom.<br><br>-D<= br><br><br><br><div><span class=3D"gmail_quote">On 4/17/06, <b class=3D"gma= il_sendername">Itay Neeman</b> <<a href=3D"mailto:[email protected]"= >[email protected] </a>> wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-lef= t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1= ex;">George,<br><br>So I was typing why it still didn't work when I managed= to fix this. <br><br>The problem was that if I didn't delete my XmlQueryExpression and<b= r>QueryContext it would still tell me handles are open. But now it<br>works= just fine.<br><br>Thank you!<br><br>> Itay,<br>><br>> You should = generally use the .delete() methods rather than .close(). <br>><br>> Your problem could be with opening too many XmlContainer o= bjects.<br>> You only need one for each actual container, and that can b= e shared<br>> among<br>> your threads. Are you doing this?= <br>> <br>> If so, you should be able to just delete() them when done with a<b= r>> container.<br>> If that has problems, it'd be good to know what.&= nbsp; You also need<br>> to be<br>> sure to delete()= any objects that may hold references to the <br>> XmlContainer,<br>> notably XmlResults, XmlValue, and XmlDocumen= t.<br>><br>> There's an FAQ entry on this:<br>> &= nbsp; <a href=3D"http://dev.sleepycat.com/resources/faq_show.ht= ml?id=3D79">http://dev.sleepycat.com/resources/faq_show.html?id=3D79 </a><br>><br>> Regards,<br>><br>> George<br>>><br><br>Ita= y A. Neeman<br><a href=3D"mailto:[email protected]">[email protected]</a><br><b= r><br><br><br><br>------------------------------------------<br>To remove y= ourself from this list, send an <br>email to <a href=3D"mailto:[email protected]">xml-unsubscri= [email protected]</a><br><br></blockquote></div><br> ------=_Part_10954_13602304.1145292302889--