kevoree-modeling / mwDB

Many-World Database repository
Apache License 2.0
11 stars 2 forks source link

Time & Index issues #15

Open gnain opened 8 years ago

gnain commented 8 years ago

I'm indexing a collection of stations. The first station is at time 3 and the index is dynamically creted with this object. Then I have a station at time 1 and the index triggers a runtime exception

java.lang.RuntimeException: Index creation failed, cache is probably full !!!
    at org.mwg.core.CoreGraph$4.on(CoreGraph.java:403)
    at org.mwg.core.CoreGraph$4.on(CoreGraph.java:399)
    at org.mwg.core.MWGResolver$1$1.on(MWGResolver.java:130)
    at org.mwg.core.MWGResolver$1$1.on(MWGResolver.java:119)
    at org.mwg.core.chunk.heap.HeapChunkSpace.getOrLoadAndMark(HeapChunkSpace.java:120)
    at org.mwg.core.MWGResolver$1.on(MWGResolver.java:119)
    at org.mwg.core.MWGResolver$1.on(MWGResolver.java:112)
    at org.mwg.core.chunk.heap.HeapChunkSpace.getOrLoadAndMark(HeapChunkSpace.java:120)
    at org.mwg.core.MWGResolver.lookup(MWGResolver.java:112)
    at org.mwg.core.CoreGraph$10.on(CoreGraph.java:615)
    at org.mwg.core.CoreGraph$10.on(CoreGraph.java:587)
    at org.mwg.core.MWGResolver$1$1$1$1.on(MWGResolver.java:188)
    at org.mwg.core.MWGResolver$1$1$1$1.on(MWGResolver.java:149)
    at org.mwg.core.chunk.heap.HeapChunkSpace.getOrLoadAndMark(HeapChunkSpace.java:120)
    at org.mwg.core.MWGResolver$1$1$1.on(MWGResolver.java:149)
    at org.mwg.core.MWGResolver$1$1$1.on(MWGResolver.java:133)
    at org.mwg.core.chunk.heap.HeapChunkSpace.getOrLoadAndMark(HeapChunkSpace.java:120)
    at org.mwg.core.MWGResolver$1$1.on(MWGResolver.java:133)
    at org.mwg.core.MWGResolver$1$1.on(MWGResolver.java:119)
    at org.mwg.core.chunk.heap.HeapChunkSpace.getOrLoadAndMark(HeapChunkSpace.java:120)
    at org.mwg.core.MWGResolver$1.on(MWGResolver.java:119)
    at org.mwg.core.MWGResolver$1.on(MWGResolver.java:112)
    at org.mwg.core.chunk.heap.HeapChunkSpace.getOrLoadAndMark(HeapChunkSpace.java:120)
    at org.mwg.core.MWGResolver.lookup(MWGResolver.java:112)
    at org.mwg.core.CoreGraph.getIndexOrCreate(CoreGraph.java:587)
    at org.mwg.core.CoreGraph.index(CoreGraph.java:399)
    at org.mwg.core.task.ActionIndexOrUnindexNode.eval(ActionIndexOrUnindexNode.java:45)
    at org.mwg.core.task.CoreTaskContext.continueTask(CoreTaskContext.java:347)
    at org.mwg.core.task.ActionPrint.eval(ActionPrint.java:20)
    at org.mwg.core.task.CoreTaskContext.continueTask(CoreTaskContext.java:347)
    at org.mwg.core.task.CoreTaskContext.continueWith(CoreTaskContext.java:294)
    at org.mwg.plugin.geojson.ActionNewNodeFromJson.eval(ActionNewNodeFromJson.java:34)
    at org.mwg.core.task.ActionPlugin.eval(ActionPlugin.java:82)
    at org.mwg.core.task.CoreTaskContext.continueTask(CoreTaskContext.java:347)
    at org.mwg.core.task.CoreTaskContext.continueWith(CoreTaskContext.java:294)
    at org.mwg.core.task.ActionFromVar.eval(ActionFromVar.java:30)
    at org.mwg.core.task.CoreTaskContext.execute(CoreTaskContext.java:361)
    at org.mwg.core.task.CoreTask$3.run(CoreTask.java:454)
    at org.mwg.core.scheduler.TrampolineScheduler.dispatch(TrampolineScheduler.java:31)
    at org.mwg.core.task.CoreTask.executeWith(CoreTask.java:400)
    at org.mwg.core.task.CoreTask.execute(CoreTask.java:374)
    at org.mwg.GeoJsonTest.update(GeoJsonTest.java:168)
    at org.mwg.GeoJsonTest.lambda$baseTest$0(GeoJsonTest.java:68)
    at org.mwg.GeoJsonTest$$Lambda$1/935044096.on(Unknown Source)
    at org.mwg.core.CoreGraph$2$1$1.on(CoreGraph.java:305)
    at org.mwg.core.CoreGraph$2$1$1.on(CoreGraph.java:254)
    at org.mwg.core.BlackHoleStorage.get(BlackHoleStorage.java:31)
    at org.mwg.core.CoreGraph$2$1.on(CoreGraph.java:254)
    at org.mwg.core.CoreGraph$2$1.on(CoreGraph.java:236)
    at org.mwg.core.BlackHoleStorage.lock(BlackHoleStorage.java:58)
    at org.mwg.core.CoreGraph$2.on(CoreGraph.java:236)
    at org.mwg.core.CoreGraph$2.on(CoreGraph.java:233)
    at org.mwg.core.BlackHoleStorage.connect(BlackHoleStorage.java:50)
    at org.mwg.core.CoreGraph.connect(CoreGraph.java:233)
    at org.mwg.GeoJsonTest.baseTest(GeoJsonTest.java:41)
    at org.mwg.GeoJsonTest.main(GeoJsonTest.java:208)