jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: NodeIterator very slow
Date Mon, 05 Feb 2007 09:45:04 GMT
Sridhar Raman wrote:
> I am executing an XPATH query. And I get the NodeIterator iter from the
> QueryResult.getNodes(). This iter is the one causing the problem.

Then I'd assume it's the query that takes a long time to execute.

You can try the following configuration tweaks:

- disable document order on the query result
   See: http://issues.apache.org/jira/browse/JCR-145
- set the paramter 'resultFetchSize' to a lower value if
   you don't need all 2000 nodes, but are only interested
   in the first few. please note however, that there are
   security concerns with this option:

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

on unix:

kill -QUIT <java-process-id>

on windows:

Ctrl-Break in the console where you started the java process

The thread dump is sent to the standard out of the java process.


View raw message