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 <[EMAIL PROTECTED]> 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
>

Reply via email to