I was rather surprised by the setting. 1.2G seems quite large, and then I saw 3048MB for the heap! This is why this does not run on my laptop! I've set the values down a lot. I think the unit tests should run on most peoples computers out the box.
I noticed the github commit said these settings we optimized for loading croatia.osm, but I know I could load that file with much lower settings. I think perhaps configurations for loading large datasets should not be part of the normal regression tests, which should be fast unit tests, or medium sized functional tests. I will commit my changes once I have got the OSMImporter working again. It seems your changes to the new Index API conflict somewhat with my work on changesets. I think I have it all working now, but will not commit until I'm a little more confident. On Tue, Feb 22, 2011 at 8:44 AM, Mattias Persson <matt...@neotechnology.com>wrote: > Yup, there doesn't seem to be support for the dot notation for specifying > mapped memory. I'm not sure there ever has been either. > > 2011/2/22 Peter Neubauer <peter.neuba...@neotechnology.com> > > > Craig, > > I guess we need to put in 1200M instead? > > > > /peter > > > > On Monday, February 21, 2011, Craig Taverner <cr...@amanzi.com> wrote: > > > Hi, > > > > > > Recently, since Peter moved Neo4j Spatial to 1.3M02 I think, I stopped > > being > > > able to run the Neo4j Spatial unit tests in maven. Most of them now > > generate > > > an error like: > > > > > > INFO: Unable to parse mapped memory[1.2] string for > > > > > > /home/craig/dev/neo4j/neo4j-spatial/target/var/neo4j-db/neostore.propertystore.db.strings > > > > > > > > > I am making sure to create the database from scratch. The full error is > > > below. Any ideas? > > > > > > Regards, Craig > > > > > > Physical mem: 2517MB, Heap size: 1020MB > > > Feb 21, 2011 10:37:37 PM > > > org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore getMappedMem > > > INFO: Unable to parse mapped memory[1.2] string for > > > > > > /home/craig/dev/neo4j/neo4j-spatial/target/var/neo4j-db/neostore.propertystore.db.strings > > > create=true > > > dump_configuration=true > > > > > > logical_log=/home/craig/dev/neo4j/neo4j-spatial/target/var/neo4j-db/nioneo_logical.log > > > > > > neo_store=/home/craig/dev/neo4j/neo4j-spatial/target/var/neo4j-db/neostore > > > neostore.nodestore.db.mapped_memory=50M > > > neostore.propertystore.db.arrays.mapped_memory=50M > > > neostore.propertystore.db.index.keys.mapped_memory=1M > > > neostore.propertystore.db.index.mapped_memory=1M > > > neostore.propertystore.db.mapped_memory=400M > > > neostore.propertystore.db.strings.mapped_memory=1.2G > > > neostore.relationshipstore.db.mapped_memory=150M > > > rebuild_idgenerators_fast=true > > > store_dir=/home/craig/dev/neo4j/neo4j-spatial/target/var/neo4j-db > > > _______________________________________________ > > > Neo4j mailing list > > > User@lists.neo4j.org > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > _______________________________________________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > -- > Mattias Persson, [matt...@neotechnology.com] > Hacker, Neo Technology > www.neotechnology.com > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user