OHDSI Home | Forums | Wiki | Github

Cannot complete initial index building for USAGI

In order to start using Usagi, I designated the directory of the vocabulary file (local) and tried to build index. However, building initial index did not complete after running overnight. The window continued showing message ‘Adding concept to search index’. In the vocabulary folder, sleepyCat and mainIndex folder were created, but I’m not sure they are completely generated. In the ErrorStream, following texts were contained. What could be the cause for this situation?

[ErrorStream file]
Exception in thread “Thread-3” java.lang.OutOfMemoryError: Java heap space
at org.apache.lucene.util.ByteBlockPool$DirectTrackingAllocator.getByteBlock(ByteBlockPool.java:103)
at org.apache.lucene.util.ByteBlockPool.nextBuffer(ByteBlockPool.java:202)
at org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:115)
at org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:189)
at org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:645)
at org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:342)
at org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:301)
at org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:222)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:450)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1507)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1222)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1203)
at org.ohdsi.usagi.UsagiSearchEngine.addTermToIndex(Unknown Source)
at org.ohdsi.usagi.indexBuilding.LuceneIndexBuilder.buildIndex(Unknown Source)
at org.ohdsi.usagi.indexBuilding.IndexBuildCoordinator$BuildThread.run(Unknown Source)

请问您解决了这个问题么?我在创造索引的时候也遇到类似的问题,很疑惑那个词汇表到达时咋下载的,6个域的我都需要下载?但是建立索引的时候,好像加载不了这么多,只能选择1个csv文件

t