jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Raman" <sridhar.ra...@gmail.com>
Subject Re: NodeIterator very slow
Date Mon, 05 Feb 2007 09:19:19 GMT
I am executing an XPATH query. And I get the NodeIterator iter from the
QueryResult.getNodes(). This iter is the one causing the problem.

Could you tell me what I need to do to get a thread dump from a java
process?

On 2/5/07, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
>
> Where do you get the NodeIterator from?
>
>
> http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/class-use/NodeIterator.html
>
> You can also try to get a thread dump from the java process while it runs
> through the iterator. that will give you a hint where the time is spent.
>
> regards
>   marcel
>
> Sridhar Raman wrote:
> > I have a NodeIterator variable iter with 2000 elements. When I do an
> > iter.hasNext() or an iter.next(), the program takes a very long time to
> > execute the call.
> >
> > Is there any solution? I am not using jackrabbit 1.2.1 yet. Should I?
> Would
> > it help?
> >
> > Thanks,
> > Sridhar
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message