Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Error creating index #66

Open
kebeda opened this issue Mar 31, 2015 · 0 comments
Open

Error creating index #66

kebeda opened this issue Mar 31, 2015 · 0 comments

Comments

@kebeda
Copy link

kebeda commented Mar 31, 2015

First time install yields the following exception:
Error Creating Index
Reason:
Error Creating Index
this writer hit an OutOfMemoryError; cannot flush

Error Log shows:


eclipse.buildId=4.5.0.I20150320-0800
java.version=1.8.0_31
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product -keyring /Users/.../.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -keyring /Users/.../.eclipse_keyring -showlocation

it.unibz.instasearch
Error
Tue Mar 31 15:02:40 CDT 2015
Lock obtain timed out: NativeFSLock@/Users/.../Documents/workspaces/mars64-M6-Pearson/.metadata/.plugins/it.unibz.instasearch/searchindex/write.lock

org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/Users/.../Documents/workspaces/mars64-M6-Pearson/.metadata/.plugins/it.unibz.instasearch/searchindex/write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:85)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1545)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:1074)
at it.unibz.instasearch.indexing.StorageIndexer.createIndexWriter(StorageIndexer.java:93)
at it.unibz.instasearch.indexing.WorkspaceIndexer.updateFile(WorkspaceIndexer.java:273)
at it.unibz.instasearch.jobs.IndexUpdateJob.runInWorkspace(IndexUpdateJob.java:190)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


The workspace directory /.metadata/.plugins/it.unibz.instasearch/searchindex has about 81M of files in it.
Deleted this directory and restarted eclipse. Same result.
Restarted eclipse with "-Xmx1024m". Same result.
Please advise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant