[Neo] neo4j on .NET

Johan Svensson johan at neotechnology.com
Thu Jul 2 17:54:44 CEST 2009


Antonello,

Pass it in as a key/value pair in the constructor that takes a
configuration map:

   Map<String,String> params = new HashMap<String,String>();
   params.put( "use_memory_mapped_buffers", "false" );

   NeoService neo = new EmbeddedNeo( "neo-db", params );

Hope that helps.

Regards,
-Johan

On Thu, Jul 2, 2009 at 5:24 PM, Antonello
Provenzano<antonello at deveel.com> wrote:
> Johan,
>
> I checked out the latest sources from the SVN server of Neo and I
> haven't found the entry point you told me about (EmbeddedNeo
> constructor with "use_memory_mapped_buffers" parameter): can you
> clarify me if this can be found in some branch of the project or if
> isn't yet committed?
>
> Thank you!
> Antonello
>
>
> On Thu, Jul 2, 2009 at 3:09 PM, Antonello
> Provenzano<antonello at deveel.com> wrote:
>> Johan,
>>
>> Thank you for the nice news (and sorry for the late response: I've
>> been on holidays and when came back I found loads of stuff to
>> accomplish): I will dig out soon and come back to you...
>>
>> Cheers.
>> Antonello
>>
>>
>> On Mon, Jun 8, 2009 at 1:48 PM, Johan Svensson<johan at neotechnology.com> wrote:
>>> Antonello,
>>>
>>> Just thought I'd mention that trunk now has support for non memory
>>> mapped buffers. When starting Neo4j just pass in:
>>>
>>> use_memory_mapped_buffers=false
>>>
>>> as a parameter to the public EmbeddedNeo( String storeDir,
>>> Map<String,String> params ) constructor.
>>>
>>> The code of plain buffer/direct buffer ports of previously memory
>>> mapped ones are:
>>>
>>> org.neo4j.impl.nioneo.store.PlainPersistenceWindow
>>> org.neo4j.impl.transaction.xaframework.DirectMappedLogBuffer
>>>
>>> Regards,
>>> Johan


More information about the User mailing list