I had the same question a couple weeks ago, Laurent. It still isn't clear to me why traversals/reads need to be wrapped in a transaction.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Laurent Laborde Sent: Monday, December 28, 2009 11:29 AM To: Neo user discussions Subject: Re: [Neo] Transaction for traverser ? > > tx = neo.beginTx(); > for(Node node : traverser) { > //Some setProperty stuff. > } > tx.success(); tx.finish(); Exception in thread "main" java.lang.OutOfMemoryError: Java heap space With 512m ... Bleh :( -- Laurent "ker2x" Laborde Sysadmin & DBA at http://www.over-blog.com/ _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

