Thank you Johan,

I was actually happy with this bug, because it brought to my attention that 
some text fields in my source database were extremely large due to some white 
space explosion. Still it's good to see the issue is solved.

Kind regards,
Niels Hoogeveen

> Date: Mon, 15 Mar 2010 20:44:12 +0100
> From: jo...@neotechnology.com
> To: user@lists.neo4j.org
> Subject: Re: [Neo] Maximum size of String properties
> 
> Hi,
> 
> Thanks for finding this since it is a bug. I have committed a fix for
> it in kernel trunk.
> 
> Regards,
> -Johan
> 
> On Fri, Mar 12, 2010 at 6:36 PM, Niels Hoogeveen
> <pd_aficion...@hotmail.com> wrote:
> >
> > While loading data into the Neo4J database I got the following exception:
> >
> > Exception in thread "main" 
> > org.neo4j.kernel.impl.transaction.TransactionFailureException: Unable to 
> > commit transaction
> >    at 
> > org.neo4j.kernel.EmbeddedGraphDbImpl$TransactionImpl.finish(EmbeddedGraphDbImpl.java:344)
> >    at org.poundpuplegacy.graphweb.Util$.withTransaction(Util.scala:138)
> >    at 
> > org.poundpuplegacy.graphweb.DatabaseLoader$.loadDocuments(DatabaseLoader.scala:453)
> >    at 
> > org.poundpuplegacy.graphweb.DatabaseLoader$.main(DatabaseLoader.scala:607)
> >    at org.poundpuplegacy.graphweb.DatabaseLoader.main(DatabaseLoader.scala)
> > Caused by: java.nio.BufferOverflowException
> >    at java.nio.DirectCharBufferS.put(Unknown Source)
> >    at java.nio.CharBuffer.put(Unknown Source)
> >    at 
> > org.neo4j.kernel.impl.transaction.xaframework.MemoryMappedLogBuffer.put(MemoryMappedLogBuffer.java:181)
> >    at 
> > org.neo4j.index.lucene.LuceneCommand$AddCommand.writeToFile(LuceneCommand.java:95)
> >    at 
> > org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.writeCommand(XaLogicalLog.java:561)
> >    at 
> > org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.addCommand(XaTransaction.java:239)
> >    at 
> > org.neo4j.index.lucene.LuceneTransaction.doPrepare(LuceneTransaction.java:217)
> >    at 
> > org.neo4j.kernel.impl.transaction.xaframework.XaTransaction.prepare(XaTransaction.java:296)
> >    at 
> > org.neo4j.kernel.impl.transaction.xaframework.XaResourceManager.prepare(XaResourceManager.java:291)
> >    at 
> > org.neo4j.kernel.impl.transaction.xaframework.XaResourceHelpImpl.prepare(XaResourceHelpImpl.java:101)
> >    at 
> > org.neo4j.kernel.impl.transaction.TransactionImpl.doCommit(TransactionImpl.java:462)
> >    at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:571)
> >    at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:543)
> >    at 
> > org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:102)
> >    at 
> > org.neo4j.kernel.EmbeddedGraphDbImpl$TransactionImpl.finish(EmbeddedGraphDbImpl.java:329)
> >    ... 4 more
> >
> > The exception seems to be caused when a property is set with a string value 
> > having a length of more than 1Mb.
> >
> > Niels Hoogeveen
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
                                          
_________________________________________________________________
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to