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> &lt;<a href=3D"mailto:[email protected]"=
>[email protected]
</a>&gt; 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>&gt; Itay,<br>&gt;<br>&gt; You should =
generally use the .delete() methods rather than .close().
<br>&gt;<br>&gt; Your problem could be with opening too many XmlContainer o=
bjects.<br>&gt; You only need one for each actual container, and that can b=
e shared<br>&gt; among<br>&gt; your threads.&nbsp;&nbsp;Are you doing this?=
<br>&gt;
<br>&gt; If so, you should be able to just delete() them when done with a<b=
r>&gt; container.<br>&gt; If that has problems, it'd be good to know what.&=
nbsp;&nbsp;&nbsp;&nbsp;You also need<br>&gt; to be<br>&gt; sure to delete()=
 any objects that may hold references to the
<br>&gt; XmlContainer,<br>&gt; notably XmlResults, XmlValue, and XmlDocumen=
t.<br>&gt;<br>&gt; There's an FAQ entry on this:<br>&gt;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&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>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; George<br>&gt;&gt;<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--