Error Recovering from Backup database

I'm trying to recover a YouTrack DB. The server crashed so I'm attempting to bring up on a different server. Version is 5.2.
After install, removed the internal teamsysdata folder and copied the backup to the folder. When I restart the service I get the following in the logs. Anyone else run into this issue?

13 Feb 2015 07:44:04,458 INFO  [EntityIterableCacheImpl       ] [EntityStoreSharedAsyncProcessor0   ] [] Cached in 1517 ms, handle=322281631-3-55-5000-80
13 Feb 2015 07:45:06,931 INFO  [EntityIterableCacheImpl       ] [EntityStoreSharedAsyncProcessor0   ] [] Cached in 1357 ms, handle=322281631-1-72
13 Feb 2015 07:47:31,555 ERROR [TextIndexManager              ] [TextIndexManager    ] [] GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
 at org.apache.lucene.index.TermBuffer.toTerm(TermBuffer.java:122)
 at org.apache.lucene.index.SegmentTermEnum.term(SegmentTermEnum.java:184)
 at org.apache.lucene.index.SegmentMergeInfo.next(SegmentMergeInfo.java:73)
 at org.apache.lucene.index.SegmentMerger.mergeTermInfos(SegmentMerger.java:546)
 at org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:473)
 at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:109)
 at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4295)
 at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3940)
 at org.apache.lucene.index.SerialMergeScheduler.merge(SerialMergeScheduler.java:37)
 at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2746)
 at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:2740)
 at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3442)
 at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3524)
 at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3506)
 at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3490)
 at jetbrains.exodus.textindex.impl.TextIndexManagerImpl.beforeCommit(TextIndexManagerImpl.java:282)
 at jetbrains.exodus.textindex.TextIndexManagerBase.commit(TextIndexManagerBase.java:704)
 at jetbrains.exodus.textindex.TextIndexManagerBase.afterProcessingJobInternal(TextIndexManagerBase.java:589)
 at jetbrains.exodus.textindex.async.IndexingJob.execute(IndexingJob.java:49)
 at jetbrains.exodus.core.execution.DecoratorJob.executeDecorated(DecoratorJob.java:72)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob.access$000(TransactionalTextIndexJob.java:11)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob$1.invoke(TransactionalTextIndexJob.java:26)
 at jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:36)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob.execute(TransactionalTextIndexJob.java:24)
 at jetbrains.exodus.core.execution.Job.run(Job.java:99)
 at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:132)
 at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:254)
 at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:167)
 at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:110)
 at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43)
 at java.lang.Thread.run(Unknown Source)
13 Feb 2015 07:47:31,587 ERROR [TextIndexManager              ] [TextIndexManager    ] [] this writer hit an OutOfMemoryError; cannot commit
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot commit
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot commit
 at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3399)
 at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3524)
 at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3506)
 at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3490)
 at jetbrains.exodus.textindex.impl.TextIndexManagerImpl.beforeCommit(TextIndexManagerImpl.java:282)
 at jetbrains.exodus.textindex.TextIndexManagerBase.commit(TextIndexManagerBase.java:704)
 at jetbrains.exodus.textindex.TextIndexManagerBase.afterProcessingJobInternal(TextIndexManagerBase.java:589)
 at jetbrains.exodus.textindex.async.IndexingJob.execute(IndexingJob.java:49)
 at jetbrains.exodus.core.execution.DecoratorJob.executeDecorated(DecoratorJob.java:72)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob.access$000(TransactionalTextIndexJob.java:11)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob$1.invoke(TransactionalTextIndexJob.java:26)
 at jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:36)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob.execute(TransactionalTextIndexJob.java:24)
 at jetbrains.exodus.core.execution.Job.run(Job.java:99)
 at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:132)
 at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:254)
 at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:167)
 at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:110)
 at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43)
 at java.lang.Thread.run(Unknown Source)
13 Feb 2015 07:47:31,633 ERROR [TextIndexManager              ] [TextIndexManager    ] [] this writer hit an OutOfMemoryError; cannot commit
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot commit
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot commit
 at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3399)
 at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3524)
 at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3506)
 at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3490)
 at jetbrains.exodus.textindex.impl.TextIndexManagerImpl.beforeCommit(TextIndexManagerImpl.java:282)
 at jetbrains.exodus.textindex.TextIndexManagerBase.commit(TextIndexManagerBase.java:704)
 at jetbrains.exodus.textindex.TextIndexManagerBase.afterProcessingJobInternal(TextIndexManagerBase.java:589)
 at jetbrains.exodus.textindex.async.IndexingJob.execute(IndexingJob.java:49)
 at jetbrains.exodus.core.execution.DecoratorJob.executeDecorated(DecoratorJob.java:72)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob.access$000(TransactionalTextIndexJob.java:11)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob$1.invoke(TransactionalTextIndexJob.java:26)
 at jetbrains.teamsys.dnq.runtime.txn._Txn.run(_Txn.java:36)
 at jetbrains.charisma.persistent.TransactionalTextIndexJob.execute(TransactionalTextIndexJob.java:24)
 at jetbrains.exodus.core.execution.Job.run(Job.java:99)
 at jetbrains.exodus.core.execution.ThreadJobProcessor.executeJob(ThreadJobProcessor.java:132)
 at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doExecuteJob(JobProcessorQueueAdapter.java:254)
 at jetbrains.exodus.core.execution.JobProcessorQueueAdapter.doJobs(JobProcessorQueueAdapter.java:167)
 at jetbrains.exodus.core.execution.ThreadJobProcessor.run(ThreadJobProcessor.java:110)
 at jetbrains.exodus.core.execution.ThreadJobProcessor$1.run(ThreadJobProcessor.java:43)
 at java.lang.Thread.run(Unknown Source)
0
1 comment
Issue was resolved by allocating more memory to java. Between TeamCity and YouTrack java was running out of memory loading the database.
0

Please sign in to leave a comment.