Hello,

I'm using Oak and I'm facing a performance problem when I try to move a node
which has many children (~3000) in a treee structure with 5 levels. It's
very slow, the JVM memory is grows to much, etc.

The piece of code :

Node node = session.getNodeByIdentifier(nodeId);
Node targetNode = session.getNodeByIdentifier(targetId);

session.move(node.getPath(), targetNode.getPath() + "/" + node.getName());
session.save();

Am I doing something wrong ? Is there an other way to do that ?

Thanks
Alexandre




--
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Oak-move-performance-problem-tp4664073.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Reply via email to