What is your memory mapped files configuration? Are you sure you aren't running out of memory?
On Thu, Oct 20, 2011 at 11:14 PM, fernandobr <[email protected]> wrote: > Hi, I'm having some trouble using Neo4J in Ubuntu 11.04 Linux OS. The program > I've writen works fine under Windows 7 but when I tried to run it at Linux > I'm experiencing some problems: > > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool logWarn > WARNING: > [/home/fmagalhaes/Coppe/GraphBD/CineastDB/neostore.propertystore.db.index] > Unable to memory map > > Oct 20, 2011 6:59:17 PM > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool logWarn > WARNING: > [/home/fmagalhaes/Coppe/GraphBD/CineastDB/neostore.propertystore.db.index.keys] > Unable to memory map > > as soon as my program reaches these line of code: > > GraphDatabaseService sourceDb = new > EmbeddedReadOnlyGraphDatabase("/home/fmagalhaes/GraphDB/CineastDB"); > GraphDatabaseService targetDb = new > EmbeddedGraphDatabase("/home/fmagalhaes/GraphDB/DistDB"); > > After this warning message the program starts, but at a later point I keep > receiving these error messages: > > WARNING: > [/home/fmagalhaes/GraphDB/CineastDB/neostore.propertystore.db.strings] > Unable to memory map > org.neo4j.kernel.impl.nioneo.store.MappedMemException: Unable to map > pos=659456 recordSize=133 totalSize=136192 > at > org.neo4j.kernel.impl.nioneo.store.MappedPersistenceWindow.<init>(MappedPersistenceWindow.java:61) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.allocateNewWindow(PersistenceWindowPool.java:603) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.refreshBricks(PersistenceWindowPool.java:501) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.acquire(PersistenceWindowPool.java:128) > at > org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.acquireWindow(CommonAbstractStore.java:526) > at > org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore.getLightRecords(AbstractDynamicStore.java:425) > at > org.neo4j.kernel.impl.nioneo.store.PropertyStore.getRecord(PropertyStore.java:362) > at > org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.loadPropertyValue(ReadTransaction.java:208) > at > org.neo4j.kernel.impl.persistence.PersistenceManager.loadPropertyValue(PersistenceManager.java:87) > at > org.neo4j.kernel.impl.core.NodeManager.loadPropertyValue(NodeManager.java:602) > at > org.neo4j.kernel.impl.core.Primitive.getPropertyValue(Primitive.java:544) > at org.neo4j.kernel.impl.core.Primitive.getProperty(Primitive.java:160) > at org.neo4j.kernel.impl.core.NodeProxy.getProperty(NodeProxy.java:145) > ... > > Can someone help me with this problem? Thanks! > > -- > View this message in context: > http://neo4j-community-discussions.438527.n3.nabble.com/Neo4J-1-4-2-on-Ubuntu-11-04-tp3439028p3439028.html > Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

